PDA

View Full Version : Qt4 with MSVC++ qmake issue



cb
12th September 2007, 21:30
I installed Qt 4.3.1 on Windows XP (Parallels, actually) and used the info here:
http://wiki.qtcentre.org/index.php?title=Qt4_with_Visual_Studio
to make Qt work with my MSVC++ 6.
The folks who did the wiki actually did a very nice job, as I had no issues following the steps and building everything. Thanks for that.
I was able to build a few examples using nmake, and they all ran ok.

Then I saw this tidbid:
"if you want to create a Visual Studio project for some Qt project, cd to this project's directory and call qmake -tp vc instead of simply calling qmake"

But when I tried that I got this:
C:\Qt\4.3.1\examples\tutorial\t3>qmake -tp vc
WARNING: Unable to generate output for: C:/Qt/4.3.1/examples/tutorial/t3//Makefi
le.Debug [TEMPLATE vcapp]
WARNING: Unable to generate output for: C:/Qt/4.3.1/examples/tutorial/t3//Makefi
le.Release [TEMPLATE vcapp]

I thought the forward slashes in Windows looked suspicious. Plus notice the 2 slashes in a row.

Any ideas?

wysota
12th September 2007, 21:47
It's nothing suspicious. Those slashes are fine. I understand that simply calling qmake works fine?

cb
12th September 2007, 22:04
Hi, thanks for your help. Yes, just running "qmake" works.

ChristianEhrlicher
13th September 2007, 06:40
Visual Studio 6 (.dsp) prject files are not supported with the patch (they were, but msvc6 is too old).
Also I would not use msvc6 anymore as a lot of actual code does not compile anymore with this crappy compiler.