Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Problems with importing CMake project in QT Creator
Forum Updated to NodeBB v4.3 + New Features

Problems with importing CMake project in QT Creator

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 1.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vmkan
    wrote on last edited by
    #1

    I have an existing cmake project, developed by my colleagues, and I want to use it with qt creator(2.7.1, Linux Mint 15). This CMakeLists.txt is configured to read some external variables -- they define the build directory, run configuration, etc. But QTCreatorCmakeWizard doesn't allow to specify them -- only cmake parameters are allowed to manage.

    The terminal equivalent of the necessary command is "SOMEVALUE=1 cmake . "

    And as I can guess, qt creator ingores RUNTIME/LIBRARY DESTINATION and CMAKE_INSTALL_PREFIX( becauseit compiles project in the directory with CMakeLists.txt).

    All other features(file tree, auto completion) works well after importing, the problem is only with building&running.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved