PDA

View Full Version : HELP!!!Qt Creator can not open project file



zhouxf
20th May 2009, 11:02
There is a big problem in front of me.

The Qt Creator can not open the *.pro file.

the Qt Creator version: 4.5.1 (the latest one)
CPP,h files can be opened.

Is there anybody answer my question?

Thank you very much

wysota
20th May 2009, 23:48
What does it mean that it can't open the file? Do you get any message from the application? Also try opening the file with some other text editor and see if it is not corrupted.

zhouxf
21st May 2009, 03:35
Thank you for your reply!

The Qt creator can open *cpp, *.h and *.ui,
while the *.pro can not be open.

the compile output is:
Not a file(0):/home/f../../abc.pro not readable.
Could not parse /home/f../../abc.pro.
The Qt4 run configuration localmenu can not be started.
Not a file(0):/home/f../../abc.pro not readable.
Could not parse /home/f../../abc.pro.

Is there anybody can resolve this problem?

Thanks

Lykurg
21st May 2009, 08:11
Sounds like you even don't have such a file or your permissions are wrong. have you used "new project"?

zhouxf
21st May 2009, 08:14
I got the permission,
the Qt Creator can not even open exist project in Qt examples,
and if i build a new project,
the pro file either can not be opened

Let me make it clear:
The edit sidebar can not be show on the window

wysota
21st May 2009, 09:09
Did you compile Creator yourself?

zhouxf
22nd May 2009, 10:45
Did you compile Creator yourself?

The creator installation has been completed when I install the whole project,
qt-sdk-linux-x86-opensource-2009.02.bin

1. the Qt software itself seems no OK,
2. I guess the problem lies in the ubuntu operation system, maybe some environment setting is damaged.

so, I wish somebody can give suggestion on it

wysota
22nd May 2009, 10:56
If you open the file from Creator, the operating system settings have nothing to do with it. Only if you tried to open the file by double clicking it in your system's file explorer (like dolphin or its gnome equivalent) the settings would have mattered.