Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    [Moved] QtCrearor does not find QT headers.

    Tools
    4
    8
    2683
    Loading More Posts
    • 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
      Algirdasss last edited by

      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 Reply Quote 0
      • A
        Algirdasss last edited by

        Sorry. Accidently posted to wrong thread ...

        1 Reply Last reply Reply Quote 0
        • G
          goetz last edited by

          Shall this thread be deleted entirely?

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

          1 Reply Last reply Reply Quote 0
          • A
            Algirdasss last edited by

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

            1 Reply Last reply Reply Quote 0
            • R
              rkroetch last edited by

              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 Reply Quote 0
              • T
                tobias.hunger last edited by

                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 Reply Quote 0
                • A
                  Algirdasss last edited by

                  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 Reply Quote 0
                  • A
                    Algirdasss last edited by

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

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post