Skip to content

gg/fix-qt-paths

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage: fix_qt_paths path\to\qt path\to\qt\lib


This script allows for portable Qt installations.

When Qt is compiled, the Qt installation path is hard-coded into qmake. The
problem is when the Qt installation path changes, qmake will no longer work
without recompilation.

fix_qt_paths provides a work-around to this problem by placing a qt.conf file
in Qt's \bin directory, alongside qmake. qt.conf specifies paths to the Qt
installation that _override_ the hard-coded paths in qmake. See
http://doc.trolltech.com/qt-conf.html for details.

fix_qt_paths also temporarily sets the QTDIR environment variable to the Qt
installation path. This allows for fix_qt_paths to seamlessly be used within a
build environment.

About

allows for portable Qt installations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published