Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QtCreator 4 and CMake

QtCreator 4 and CMake

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
4 Posts 3 Posters 1.9k Views 3 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.
  • jsulmJ Offline
    jsulmJ Offline
    jsulm
    Lifetime Qt Champion
    wrote on last edited by
    #1

    In QtCreator 4 it is not possible any more to provide CMake parameters when calling "Run CMake".
    I managed to set all needed variables in the Kit and can now execute CMake in QtCreator.
    So far so good.
    But now I cannot build any more from QtCreator because all build options are greyed out!
    I can build on command line (Linux).
    Does anybody know what the problem is?

    https://forum.qt.io/topic/113070/qt-code-of-conduct

    1 Reply Last reply
    1
    • jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Under Projects/Build settings QtCreator says (with an exclamation mark in a red circle):
      "The build directory is not for PATH_TO_PROJECT"
      I use out of source build.
      Why does QtCreator think the build directory is not for the project?

      With previous QtCreator versions everything was working just fine. Sometimes "improvements" are counter intuitive.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • Niels MN Offline
        Niels MN Offline
        Niels M
        wrote on last edited by
        #3

        I have the same problem -- very annoying. Now I can't build my software.

        In addition, configuring CMAKE to use only the Ninja generator causes the project file list to remain empty! This wasn't the case with QtCreator 3.3.0 Now you have to use CodeBlocks + Ninja to get a list of files in your project.

        Other than this, QtCreator is a very nice piece of software, but the way it is now, i's not usable.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi and welcome to devnet,

          You should rather bring your points to the Qt Creator mailing list, you'll find there Qt Creator's developers/maintainers. This forum is more user oriented.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          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