[Qt-creator] compilation/edition problems
Daniel Teske
daniel.teske at nokia.com
Thu Feb 11 11:58:16 CET 2010
On Wednesday 10 February 2010 20:05:30 ext Jan Rosell wrote:
> 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?
At the moment, that's the way it is.
> 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?
Creator creates a Project.cbp file in the background, and parses that. Somehow
that file must be different. That could be due to diffrent cmake versions.
daniel
More information about the Qt-creator-old
mailing list