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. [Moved] QtCrearor does not find QT headers.
QtWS25 Last Chance

[Moved] QtCrearor does not find QT headers.

Scheduled Pinned Locked Moved Qt Creator and other tools
8 Posts 4 Posters 3.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.
  • A Offline
    A Offline
    Algirdasss
    wrote on last edited by
    #1

    Hy,

    I have Qt 4.5 Embedded version compiled for uClinux. I added it to QtCreator 2.1 (or 2.0.1) so that I could do easy development with that version. I am using Ubuntu 10.10 as development platform. The problem is that QtCreator is not able to locate QT header so as a result code completion does not work at all. But at the same time code compiles without any problems.
    What could be the problem??? How and where QtCreator looks for headers?? Here is what I get from gmake:

    ~/CppProjects/uClinux-dist/staging/usr/bin$ ./qmake -query
    QT_INSTALL_PREFIX:/home/algirdas/CppProjects/uClinux-dist/staging/usr
    QT_INSTALL_DATA:/home/algirdas/CppProjects/uClinux-dist/staging/usr
    QT_INSTALL_DOCS:/home/algirdas/CppProjects/uClinux-dist/staging/usr/doc
    QT_INSTALL_HEADERS:/home/algirdas/CppProjects/uClinux-dist/staging/usr/include
    QT_INSTALL_LIBS:/home/algirdas/CppProjects/uClinux-dist/staging/usr/lib
    QT_INSTALL_BINS:/home/algirdas/CppProjects/uClinux-dist/staging/usr/bin
    QT_INSTALL_PLUGINS:/home/algirdas/CppProjects/uClinux-dist/staging/usr/plugins
    QT_INSTALL_TRANSLATIONS:/home/algirdas/CppProjects/uClinux-dist/staging/usr/translations
    QT_INSTALL_CONFIGURATION:/etc
    QT_INSTALL_EXAMPLES:/usr/examples
    QT_INSTALL_DEMOS:/usr/demos
    QMAKE_MKSPECS:/home/algirdas/CppProjects/uClinux-dist/staging/usr/mkspecs
    QMAKE_VERSION:2.01a
    QT_VERSION:4.5.1
    k.

    Any ideas?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      Algirdasss
      wrote on last edited by
      #2

      Sorry. Accidently posted to wrong thread ...

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

        Shall this thread be deleted entirely?

        http://www.catb.org/~esr/faqs/smart-questions.html

        1 Reply Last reply
        0
        • A Offline
          A Offline
          Algirdasss
          wrote on last edited by
          #4

          Well it would be nice if it could be moved to the Tools thread ... Thanks

          1 Reply Last reply
          0
          • R Offline
            R Offline
            rkroetch
            wrote on last edited by
            #5

            I have the same problem when using any QtCreator >= 2.0.0 to build a Qt 4.6 Embedded target.
            If anyone knows a fix to this, it would be appreciated.

            A temporary solution is to use QtCreator 1.3.0 which correctly detects Qt's headers with the same Qt 4.6 Embedded target.

            1 Reply Last reply
            0
            • T Offline
              T Offline
              tobias.hunger
              wrote on last edited by
              #6

              Did you guys "report a bug":http://bugreports.qt.nokia.com/ yet?

              This forum is not routinely scanned for bug reports, so getting it into the bug tracker is your best chance to get your issues fixed.

              1 Reply Last reply
              0
              • A Offline
                A Offline
                Algirdasss
                wrote on last edited by
                #7

                Well ok ... I'll try to do that later. Just thought maybe there is some quick fix for this already present or it's QT compilation issue. But seems it may be related to QtCreator.

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  Algirdasss
                  wrote on last edited by
                  #8

                  http://bugreports.qt.nokia.com/browse/QTCREATORBUG-4008

                  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