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. Cmake build fails without a good error message
QtWS25 Last Chance

Cmake build fails without a good error message

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
3 Posts 1 Posters 2.3k Views
  • 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.
  • D Offline
    D Offline
    dunerocks
    wrote on last edited by
    #1

    I'm having some weird issues using a non-Qt CMake project. This has built fine with previous versions.

    After CMake has finished configuration, all I see when I press build is,

    Error while building/deploying project WebKit (kit: GCC 64-bit)
    When executing step "CMake Build"

    That's it... If I go to the build directory manually and type,

    cmake --build . --target all

    The compilation works. What is going on? Does Qt Creator have better logging somewhere else? I don't know what to look for based on this error message.

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dunerocks
      wrote on last edited by
      #2

      This is really non-deterministic. Qt Creator has some issues with caching I'm sure, it's just impossible to track down having never worked on Qt Creator.

      1 Reply Last reply
      0
      • D Offline
        D Offline
        dunerocks
        wrote on last edited by
        #3

        If I restart the IDE it manages to start the build. I can reliably reproduce this now.

        Open WebKit CMakeLists.txt file in Qt Creator.
        Change CMake PORT variable to GTK
        Attempt to build, it will fail.
        Restart the IDE
        Attempt to build, it starts.

        It's hard to say where the bug is due to the error message the IDE gives.

        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