PDA

View Full Version : Problem creating vcproj with qmake in 4.6.0



bnilsson
6th January 2010, 11:34
I just installed Qt 4.6.0 and I have some problems generating VS 2008 projects.
According to docs, and previous experience from Qt 4.5.x, a project template = vcapp will generate a .vcproj project.
Not anymore. Now I get a .dsp file, which opens with VS 2008, but needs to be converted.
After conversion I also have the problem that the debugger does not find the .exe, but I am not sure it is connected.

Is this known or is it only me?


BN

bnilsson
6th January 2010, 13:50
I used the following config:

<<Add PATH C:\Qt\2009.05\qt>>
cd C:\Qt\2009.05\qt
nmake confclean
configure -platform win32-msvc -no-webkit
nmake

I saw now that there is an option "-vcproj" in the configure options list.
This was not necessary in previous versions, maybe it is now? (bug or feature?)

I am hesitant to try since it will take overnight to rebuild.

BN

bnilsson
13th January 2010, 20:45
tried

nmake confclean
configure -platform win32-msvc -no-webkit -vcproj
nmake

and it made no difference, qmake still produces a .dsp file.

Any suggestions?

bnilsson
14th January 2010, 06:27
it worked when using "-platform win32-msvc2008" instead of just "-platform win32-msvc".
Strange, I don't remember this was the case in the previous version.
Nevertheless, case closed.