[Qt-interest] How to relocate an custom build and install of Qt?
Dave Peterson
dpeterson at enthought.com
Thu Jul 2 19:12:28 CEST 2009
Hello,
I'm trying to build an installer on Windows and OS X for an app that is
based on Qt, and currently includes alot of the Qt distribution itself
such as demos, examples, plugins, etc. As part of that effort, I need
my libs and plugins to be relocatable -- i.e. work from where ever the
user told my app to install. I can't seem to get various parts of Qt to
work in these random install locations, in particular I get missing
plugins and occasionally DLLs too. I also can't get PyQt to build
against these relocated installs. I believe these problems are related
to the "builtin" properties shown by qmake when one does a 'qmake -query'.
Does anyone know where these values are stored and how I can change
them? I've scanned the qmake executable itself for the strings it
outputs when doing 'qmake -query' but they clearly aren't in the file
itself. I've tried doing a 'qmake -set QT_INSTALL_PREFIX' but that just
adds a new property rather than modifying the builtin one.
If I'm heading down the wrong path, what's the right way to take an
'install' of Qt and relocate it to another location without having to
rebuild it specifically for that new location? Again, I'm particularly
interested in Windows and Mac OS X.
Thanks in advance!
-- Dave
More information about the Qt-interest-old
mailing list