Unable to import QT Project into Visual Studio 2008/2010
-
I installed the SDK for QT for Visual studios. I installed the plugin. I created a simple project in QT Creator with just a dialog.
I then try and import the project into visual studios and get this issue:
@--- (Import): Generating new project of test.pro file
--- (qmake) : Using: \bin\qmake
--- (qmake) : Working Directory: C:\test\test
--- (qmake) : Arguments: -tp vc "test.pro" -o "test.vcxproj" QMAKE_INCDIR_QT=$(QTDIR)\include QMAKE_LIBDIR_QT= QMAKE_LIBDIR=$(QTDIR)\lib QMAKE_UIC=$(QTDIR)\bin\uic.exe QMAKE_MOC=$(QTDIR)\bin\moc.exe QMAKE_RCC=$(QTDIR)\bin\rcc.exe QMAKE_QMAKE=$(QTDIR)\bin\qmake.exeThe system cannot find the file specified@
I am importing it via the QT Menu > Open QT Project. in Qt Options the QT path is configured and such without any issues as far as I can tell.
-
Correct, sorry I wasn't more clear on that. I am using 4.7.2 I downloaded the libraries specifically for visual studios. In the Qt options it has it selected there. I put in that ENV path variable. I configured the lookup locations for the libs, includes etc...
I can open the visual studios command prompt and just run QMake just to make sure that actually runs. I haven't tried actually manually doing this yet though and just hardcoding the $(QTDIR) parameters. WHen you choose open a project from the QT menu that is what that output I posted is from (in the output window)
-