How to configure qt creator together using cmake on macOS



  • Hi,

    I am newie here and want to ask how to configure the qtcreator on MacOs. Could anyone give more details and explanations?

    I type Qt\ Creator CMakeLists.txt in the terminal, and i got following Error messages:

    No tool chain set up in kit "Desktop Qt 5.8.0 clang 64bit" for "C".
    No tool chain set up in kit "Desktop Qt 5.8.0 clang 64bit" for "C".
    Warning: Could not determine default QPA plugin for static Qt.
    Warning: Could not determine default QPA plugin for static Qt.

    How could I work qt creator with CMakeLists.txt correctly?

    Best,
    Yumin



  • Hi @Washington

    What about this documentation ?



  • This post is deleted!


  • @waschbaer said in How to configure qt creator together using CMakeLists.txt:

    But I don't know why there is no options at all in my qtcreator for cmake, although I do have cmake.

    What is the version of your Qt creator?



  • Qt 5.8

    After several times, I have this cmake tools in the "manage kits" windows.

    But it seems like I link 32 bits but I should link 64bit....But I don't know how.

    I have tried following in building environments

    Set Path: add this at end: /usr/local/bin
    Set CC: /usr/bin/cc
    Set PKG_CONFIG_PATH: /Users/yuminsun/opencv/build/unix-install/opencv.pc**

    And the message is still:

    No tool chain set up in kit "Desktop Qt 5.8.0 clang 64bit" for "C".
    No tool chain set up in kit "Desktop Qt 5.8.0 clang 64bit" for "C".
    2017-12-19 13:18:52.433 Qt Creator[25679:2490412] IMKClient Stall detected, please Report your user scenario attaching a spindump (or sysdiagnose) that captures the problem - (imkxpc_bundleIdentifierWithReply:) block performed very slowly (1.12 secs).
    Warning: Could not determine default QPA plugin for static Qt.
    Warning: Could not determine default QPA plugin for static Qt.
    QUnifiedTimer::stopAnimationDriver: driver is not running

    And press control+B, it gives:

    :-1: error: symbol(s) not found for architecture x86_64
    :-1: error: linker command failed with exit code 1 (use -v to see invocation)


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.