qt qmake -tp vc to create visual studio project files -


I am using Qt Creator 1.0.0 And Qi 4.5.0 LGGL license.

I want to develop an application in QT which will run on Windows Mobile 6.0.

I have created a simple project in QT and I want to create a visual project file so that I can compile windows on the windows using the visual studio and test using the emulator.

I am using Visual Studio 2008 TS and Windows Mobile 6 SDK is installed.

However, I have created my project in Qt and I have browsed that the project is located using QT command prompt.

I am in the root of my project and I type qmake - tp vc I am getting this output:

  D: \ projects \ pdfon \ pdfon> gt; ; Qmake -t vc WARNING: Unable to generate output for: D: / projects / pdfone / pdfone // makefile.debug [TEMPLATE vc] WARNING: Unable to generate output: D: / Project / PDA_Phone / PDA_Phone / /Makefile.Release [Template VC]  

The following files are in my directory:

Directory of D: \ Projects \ PDPhone \ PDAFone 06/25 / 2009 05:37 PM & lt; DIR & gt; . 06/25/2009 05:37 pm & lt; DIR & gt; .. 06/25/2009 05:18 PM & lt; DIR & gt; Debug 06/25/2009 05:17 PM 187 Chief CPP 06/25/2009 05:17 PM 233 Chief Vindoo CPP 06/25/2009 05:17 PM 325 Headwaters OH 06/25/2009 05:17 PM 1,626 Mainwindow Ui 06/25/2009 05:37 pm 5,242 Makefiles 06/25/2009 05:17 307 PDA_Phone.pro 06/25/2009 05:17 PM & lt; DIR & gt; Qtc-gdbmacros 06/25/2009 05:17 PM & lt; DIR & gt; Release 06/25/2009 05:17 PM 3,146 ui_mainwindow.h 7 files 11,066 bytes 5dir 10,922,962,944 bytes free

Are you sure that you use qmake -tp vc Are you? You have mentioned this twice, but your output given above shows that you are using QMac -T vc. (Note -T instead of T-)

You either need to use:

qmake -tp vc

> Qmake -t vcapp

This may also be a poor cumulative environment variable.

Try it:

  set QMAKESPEC = win32-msvc2008 qmake -tp vc  

Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -