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. adding paths to CMake project
Qt 6.11 is out! See what's new in the release blog

adding paths to CMake project

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

    Hi all -

    I'm trying to use Creator for some cross-development. I think I have my kit set up properly, but I seem to be missing include paths:
    paths.PNG
    Where do I define these paths? I'm particularly surprised that it couldn't find "string.h."

    Thanks...

    jsulmJ 1 Reply Last reply
    0
    • mzimmersM mzimmers

      Hi all -

      I'm trying to use Creator for some cross-development. I think I have my kit set up properly, but I seem to be missing include paths:
      paths.PNG
      Where do I define these paths? I'm particularly surprised that it couldn't find "string.h."

      Thanks...

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @mzimmers This can be false positive from the code model.
      Does your project compile?

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

      mzimmersM 1 Reply Last reply
      0
      • jsulmJ jsulm

        @mzimmers This can be false positive from the code model.
        Does your project compile?

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

        @jsulm no, it doesn't; I get the errors about the files not found.

        EDIT: I stand corrected. A couple of the errors were valid, which was killing the build. Once I fixed them, my build works successfully (in that it completes without errors; it doesn't seem to be producing a binary, though -- probably some mistake in my settings on that one).

        EDIT AGAIN: I have to change my answer, from "no" to "yes" to "sometimes."

        Creator's inability to find these include files isn't just a cosmetic inconvenience; it reduces its value as a code browser. Any CMake whizzes out there that might know how to fix this?

        Thanks...

        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