[Qt-creator] compilation/edition problems
Jan Rosell
jan.rosell at upc.edu
Wed Feb 10 20:05:30 CET 2010
Hello, I am new at using QtCreator an I have the following two problems.
I am working in windows XP. My project uses Coin3D for the graphics
(which I have downloaded already compiled for msvc9, as well as the Qt
libraries 4.6.1.).
My project is defined with a CMakeList.txt file. Then in order to use
the same complier as the Coin3D and Qt libraries I run the CMake with
the NMake Generator.
First problem:
When I build the project I get compilation errors (command failed with
exit code 2), unless I open the QtCreator from a cmd where I first
ececute the file vcvars32.bat found in "Microsoft Visual Studio
9.0\VC\bin" directory (or alternatively executing qtcreator from the
"Visual Studio 2008 Command Prompt", which in fact does the same).
Is there a way to solve this in a more comfortable manner?
Second problem:
I have all this developing setup in two computers and in one of them,
when the project is opened, it appears only with the CMakeLists.txt file
but the code is not visible, i.e. the *cpp files and the *.h files do
not appear, although the project can be complied and it can be run. I
have not been able to find the reason...Can anyone give me some hints?
Thank you
Jan
More information about the Qt-creator-old
mailing list