Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

Qt 5.0.2 qmake problem

$
0
0
I have two computers at home and at work. When I install Qt 5.0.2 at work, qmake has errors. When qmake generate Makefile, it does not insert QTDIR in somewere. At home all work. System version and settings all the same. I check the environment variables and output of “qmake -query”. All the same. Windows XP SP3 RUS, Visual Studio 2010. Qt 5.0.2 (from binary distribute). Path by default C:\Qt\Qt5.0.2. What could be wrong? For example Makefile.Debug, at work INCPATH       = -I"C:\include" -I"C:\include\QtWidgets" -I"C:\include\QtGui" -I"C:\include\QtCore" -I"debug" -I"." -I"C:\Qt\Qt5.0.2\5.0.2\msvc2010\mkspecs\win32-msvc2010" the same place, at home INCPATH       = -I"..\..\Qt\Qt5.0.2\5.0.2\msvc2010\include" -I"..\..\Qt\Qt5.0.2\5.0.2\msvc2010\include\QtWidgets" -I"..\..\Qt\Qt5.0.2\5.0.2\msvc2010\include\QtGui" -I"..\..\Qt\Qt5.0.2\5.0.2\msvc2010\include\QtCore" -I"debug" -I"." -I"." -I"..\..\Qt\Qt5.0.2\5.0.2\msvc2010\mkspecs\win32-msvc2010" Another example, at work LIBS          = qtmaind.lib /LIBPATH:/lib /lib\Qt5Widgetsd.lib /lib\Qt5Guid.lib /lib\Qt5Cored.lib libEGLd.lib libGLESv2d.lib gdi32.lib user32.lib at home LIBS          = qtmaind.lib /LIBPATH:C:\Qt\Qt5.0.2\5.0.2\msvc2010\lib C:\Qt\Qt5.0.2\5.0.2\msvc2010\lib\Qt5Widgetsd.lib C:\Qt\Qt5.0.2\5.0.2\msvc2010\lib\Qt5Guid.lib C:\Qt\Qt5.0.2\5.0.2\msvc2010\lib\Qt5Cored.lib libEGLd.lib libGLESv2d.lib gdi32.lib user32.lib And more, at work  \bin\moc.exe $(DEFINES) $(INCPATH) -D_MSC_VER=1600 -DWIN32 mainwindow.h -o debug\moc_mainwindow.cpp         ...  \bin\uic.exe mainwindow.ui -o ui_mainwindow.h at home  C:\Qt\Qt5.0.2\5.0.2\msvc2010\bin\moc.exe $(DEFINES) $(INCPATH) -D_MSC_VER=1600 -DWIN32 ..\untitled\widget.h -o         ...  C:\Qt\Qt5.0.2\5.0.2\msvc2010\bin\uic.exe ..\untitled\widget.ui -o ui_widget.h

Viewing all articles
Browse latest Browse all 2113

Trending Articles