Opened 11 years ago

Last modified 5 years ago

#39347 assigned defect

Qt-Creator doesn't open any pro file anymore

Reported by: mkae (Marko Käning) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: cooljeanius (Eric Gallager), chrstphrchvz (Christopher Chavez)
Port: qt4-creator-mac

Description

Since the update to the new version 2.7.1 I cannot open pro files anymore.

This means Qt-Creator became unusable with the last update on Snow Leopard!

Change History (15)

comment:1 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:2 Changed 11 years ago by macports@…

Cc: macports@… added

Cc Me!

comment:3 Changed 11 years ago by macports@…

Could you give steps to reproduce this problem?

comment:4 Changed 11 years ago by mkae (Marko Käning)

Steps were upgrading it to the new version and trying to open any of my old projects.

comment:5 Changed 11 years ago by macports@…

Do you get any helpful error messages when trying to open the project file?

comment:6 Changed 11 years ago by cooljeanius (Eric Gallager)

Also, does this still happen now that the port has been upgraded from 2.7.1 to 2.8.0?

comment:7 Changed 11 years ago by mkae (Marko Käning)

Unfortunately I see the same behaviour for the latest 2.8.0. On the console I get tons of messages like these when I start the application:

$ /opt/macports-test/Applications/Qt4/Qt\ Creator.app/Contents/MacOS/Qt\ Creator
QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::translate: Painter not active
QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::translate: Painter not active
QPainter::worldTransform: Painter not active
QPainter::save: Painter not active
QPainter::setOpacity: Painter not active
QPainter::setWorldTransform: Painter not active
QPainter::restore: Unbalanced save/restore
QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::translate: Painter not active
QPainter::worldTransform: Painter not active

No other helpful information.

If I open the pro file it doesn't open it as a project at all when I click on a project link in the Welcome/Develop-tab, or in "File/Recent Projects" menu. When I open it via "File/Open File or Project..." it gets opened as a simple file without syntax highlighting even, also complaining that no highlight definition was found...

comment:8 Changed 11 years ago by macports@…

That's a weird one indeed... I have now suddenly been able to reproduce this behaviour. I got things to work again after removing all of Qt Creator's configuration files from my home directory:

~/.config/Nokia
~/.config/QtProject
~/Library/Application\ Support/QtProject/QtCreator
~/Library/Preferences/org.qt-project.qtcreator.plist
~/Library/Saved\ Application\ State/org.qt-project.qtcreator.savedState

Unfortunately I can't tell which exact file was the culprit, since I overzealously cleared the whole bunch at once.

comment:9 Changed 11 years ago by mkae (Marko Käning)

Except the last I also had those folders here on my SL.

Now that I renamed all of them I was finally able to use QtCreator 2.8.0_1.

Thanks for the hint!!!

(So I guess this port's portfile would need an installation note to point the user to this solution, or one lets this ticket as (sort of) "resolved" on trac in case another user stumbles over it.)

comment:10 Changed 11 years ago by mkae (Marko Käning)

These were folders were not touched by the new version:

~/.config/Nokia
~/Library/Application\ Support/QtProject/QtCreator

so that one would 'only' need to investigate differences in ./config/QtProject if one wants to further analyze this issue.

comment:11 Changed 10 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: macports@… removed
Owner: changed from mcalhoun@… to sicherha@…

Since I am no longer the maintainer of qt4-creator-mac (r107699 and r107700), I am reassigning this report to the current maintainer.

comment:12 Changed 5 years ago by chrstphrchvz (Christopher Chavez)

Current maintainer is michaelld.

Is this issue still relevant or can it be closed?

comment:13 Changed 5 years ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added

comment:14 Changed 5 years ago by mf2k (Frank Schima)

Owner: changed from sicherha@… to michaelld
Status: newassigned

comment:15 Changed 5 years ago by raimue (Rainer Müller)

Cc: raimue removed
Note: See TracTickets for help on using tickets.