-
Type:
Bug
-
Status: Closed
-
Priority:
Not Evaluated
-
Resolution: Duplicate
-
Affects Version/s: 5.4.1
-
Fix Version/s: None
-
Component/s: Build tools: qmake
-
Labels:None
-
Environment:Windows 7 x64 Enterprise
Microsoft Visual Studio Ultimate 2013, Version 12.0.31101.00 Update 4
Qt 5.4.1 (qt-opensource-windows-x86-msvc2012_opengl-5.4.1.exe with cecea735ef7f23df21ef87765db2890a MD5 checksum)
Qt Creator 3.3.1 (opensource), Based on Qt 5.4.1 (MSVC 2010, 32 bit), Built on Feb 20 2015 at 04:12:12, From revision 567c6eb875Windows 7 x64 Enterprise Microsoft Visual Studio Ultimate 2013, Version 12.0.31101.00 Update 4 Qt 5.4.1 (qt-opensource-windows-x86-msvc2012_opengl-5.4.1.exe with cecea735ef7f23df21ef87765db2890a MD5 checksum) Qt Creator 3.3.1 (opensource), Based on Qt 5.4.1 (MSVC 2010, 32 bit), Built on Feb 20 2015 at 04:12:12, From revision 567c6eb875
Installed Qt using qt-opensource-windows-x86-msvc2012_opengl-5.4.1.exe to C:\Qt\Qt5.4.1-x86-msvc2013_opengl\5.4\msvc2013_opengl directory.
Move the binaries to D:\temp\o\rary\Qt\5.4\msvc2013_opengl directory.
Open Qt Creator to create a Qt Quick application, given the name qtquickapplicationtest in this example.
After I move to another location, for example, D:\temp\o\rary\Qt\5.4\msvc2013_opengl directory, qmake does not fully uses the new location as current path.
LIBS = glu32.lib opengl32.lib gdi32.lib user32.lib /LIBPATH:D:\temp\o\rary\Qt\5.4\msvc2013_opengl\lib D:\temp\o\rary\Qt\5.4\msvc2013_opengl\lib\qtmain.lib shell32.lib /LIBPATH:C:\Qt\Qt5.4.1-x86-msvc2013_opengl\5.4\msvc2013_opengl\lib C:\Qt\Qt5.4.1-x86-msvc2013_opengl\5.4\msvc2013_opengl\lib\Qt5Core.lib D:\temp\o\rary\Qt\5.4\msvc2013_opengl\lib\Qt5Quick.lib D:\temp\o\rary\Qt\5.4\msvc2013_opengl\lib\Qt5Widgets.lib D:\temp\o\rary\Qt\5.4\msvc2013_opengl\lib\Qt5Gui.lib D:\temp\o\rary\Qt\5.4\msvc2013_opengl\lib\Qt5Qml.lib D:\temp\o\rary\Qt\5.4\msvc2013_opengl\lib\Qt5Network.lib D:\temp\o\rary\Qt\5.4\msvc2013_opengl\lib\Qt5Core.lib
Notice that the /LIBPATH:C:\Qt\Qt5.4.1-x86-msvc2013_opengl\5.4\msvc2013_opengl\lib C:\Qt\Qt5.4.1-x86-msvc2013_opengl\5.4\msvc2013_opengl\lib\Qt5Core.lib is still pointing to the old path, which does not exist.
Other similar paths are correctly setup with the new location after the move.
- duplicates
-
QTBUG-14150 Relocatable Qt project
-
- Closed
-