cmake not finding Qt4

后端 未结 5 2086
情书的邮戳
情书的邮戳 2021-02-19 18:42

Since 4.8.0 is out, I\'ve reinstalled Qt, and now I want to use cmake too. To make cmake work, I remember having to add the mingw bin folder (QtSDK\\Desktop\\Qt\\4.7.3

5条回答
  •  一个人的身影
    2021-02-19 19:19

    I had the same problem and I solved providing the path to qmake,

     QT_QMAKE_EXECUTABLE   /opt/qt-4.8.7/bin/qmake
    

    On Mac, while the binaries are saved in /usr/local/Trolltech/Qt-4.8.7/bin the required qmake required as value of QT_QMAKE_EXECUTABLE is, for my OS, stored in the path /opt/qt-4.8.7/bin/qmake . Hope this help as well.

提交回复
热议问题