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. Creator 10.0.0 giving seemingly false warning
Forum Updated to NodeBB v4.3 + New Features

Creator 10.0.0 giving seemingly false warning

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
3 Posts 2 Posters 393 Views 2 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.
  • mzimmersM Offline
    mzimmersM Offline
    mzimmers
    wrote on last edited by mzimmers
    #1

    Hi all -

    I've noticed Creator gives me a warning "Failed to load project. Issues and "Project > Build" setting show more information about the failure."

    There's nothing in the Issues pane, and I see no errors in my Build window. Is this a false alarm?
    creator.PNG

    EDIT:

    I can make this warning go away when I change this line in my CMakeLists.txt file from:

    project(nga_demo VERSION ${NGA_VERSION_MAJOR}.${NGA_VERSION_MINOR} LANGUAGES CXX)
    

    to:

    project(nga_demo VERSION ${NGA_VERSION_MAJOR}.${NGA_VERSION_MINOR} LANGUAGES C CXX)
    

    but I don't really understand this, either.

    Thanks...

    cristian-adamC 1 Reply Last reply
    0
    • mzimmersM mzimmers

      Hi all -

      I've noticed Creator gives me a warning "Failed to load project. Issues and "Project > Build" setting show more information about the failure."

      There's nothing in the Issues pane, and I see no errors in my Build window. Is this a false alarm?
      creator.PNG

      EDIT:

      I can make this warning go away when I change this line in my CMakeLists.txt file from:

      project(nga_demo VERSION ${NGA_VERSION_MAJOR}.${NGA_VERSION_MINOR} LANGUAGES CXX)
      

      to:

      project(nga_demo VERSION ${NGA_VERSION_MAJOR}.${NGA_VERSION_MINOR} LANGUAGES C CXX)
      

      but I don't really understand this, either.

      Thanks...

      cristian-adamC Offline
      cristian-adamC Offline
      cristian-adam
      wrote on last edited by
      #2

      Hovering the kit should display a text description of the warning.

      Note that CMake has C and CXX as default langguages, you don't need to explicit mention LANGUAGES C CXX.

      The Qt wizard is only enabling the CXX language, which skips the C language compiler detection.

      mzimmersM 1 Reply Last reply
      1
      • cristian-adamC cristian-adam

        Hovering the kit should display a text description of the warning.

        Note that CMake has C and CXX as default langguages, you don't need to explicit mention LANGUAGES C CXX.

        The Qt wizard is only enabling the CXX language, which skips the C language compiler detection.

        mzimmersM Offline
        mzimmersM Offline
        mzimmers
        wrote on last edited by mzimmers
        #3

        @cristian-adam thanks. FYI: there's a bug in 6.5.0 that (won't affect most people) which causes the multimedia module not to be included in a static Qt build. The workaround is to include the languages as I showed above.

        EDIT:

        Updated to 10.0.1; doesn't seem to be happening anymore.

        1 Reply Last reply
        1
        • mzimmersM mzimmers has marked this topic as solved on

        • Login

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