Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QtCreator cant find includes
Qt 6.11 is out! See what's new in the release blog

QtCreator cant find includes

Scheduled Pinned Locked Moved Mobile and Embedded
6 Posts 5 Posters 2.1k 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.
  • G Offline
    G Offline
    gandiii
    wrote on last edited by
    #1

    Hi,

    I have installed QtCreator and made an embedded version of Qt for
    the beaglebone.

    My system specs:
    Linux Ubuntu 32bit
    qt embedded 4.8
    qtcreator 2.7.0

    The QtCreator cant find the includes, but the build works.
    This is how the editor looks like:
    !http://i44.tinypic.com/33kg2tz.jpg(QtCreator)!

    Is there a special folder/place I have to copy the includes or a
    environmental variable I have to set??

    1 Reply Last reply
    0
    • T Offline
      T Offline
      t3685
      wrote on last edited by
      #2

      What does your test.pro look like? Do you have the line QT += core in there?

      1 Reply Last reply
      0
      • G Offline
        G Offline
        gandiii
        wrote on last edited by
        #3

        this is my .pro file:
        @
        created by QtCreator 2013-05-26T18:04:01

        #-------------------------------------------------

        QT += core

        QT -= gui

        TARGET = test
        CONFIG += console
        CONFIG -= app_bundle

        TEMPLATE = app

        target.path = /home/test
        INSTALLS += target

        SOURCES += main.cpp
        @

        1 Reply Last reply
        0
        • A Offline
          A Offline
          Alek Śmierciak
          wrote on last edited by
          #4

          The core module (as well as the gui module) are included by default. The green underline in QtCreator aside, can you include list of Issues or compilation errors/warnings?

          1 Reply Last reply
          0
          • V Offline
            V Offline
            vladstelmahovsky
            wrote on last edited by
            #5
            1. try to add INCLUDEPATH to the .pro file
            2. try to remove sysroot from project settings
            1 Reply Last reply
            0
            • T Offline
              T Offline
              tobias.hunger
              wrote on last edited by
              #6

              Do you have a Qt version set up in your desktop kit (Tools>Options>Build & Run>Kits)? If not: Is there a Qt version defined in the Qt version tab next to the kits tab?

              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