qmake and QT_INSTALL_PREFIX. How can I select a new location for Qt library?

后端 未结 3 1994
猫巷女王i
猫巷女王i 2021-02-12 23:29

I am new to qmake and I am trying to build an existing application. Qt was originally installed in /usr/local/lib/Qt-4.3.5 and \'qmake -query QT_INSTALL_PREFIX\' returns that pa

3条回答
  •  温柔的废话
    2021-02-13 00:04

    This is a 'builtin' compiled into qmake from qconfig.cpp. The best way is to reconfigure Qt with another -prefix and rebuild unfortunately. For most other variables, you can use a .qmake.cache file. See

    http://doc.qt.digia.com/qt/qmake-environment-reference.html

    for more info

提交回复
热议问题