Daniel Teske escribió: > 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. >
The cmake versions were the same; finally this second problem has been solved by locating the project in a directory path without spaces, i.e. I changed it from "C:\Archivos de Programa\myProject" to "C:\myProject". Now all the *.cpp and *.h files do appear. Jan > daniel > _______________________________________________ > Qt-creator mailing list > [email protected] > http://lists.trolltech.com/mailman/listinfo/qt-creator > _______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator
