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. Qt Creator 2.1.0 RC 1 won't make in Ubuntu
Forum Updated to NodeBB v4.3 + New Features

Qt Creator 2.1.0 RC 1 won't make in Ubuntu

Scheduled Pinned Locked Moved Qt Creator and other tools
18 Posts 5 Posters 11.0k 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.
  • K Offline
    K Offline
    kyleplattner
    wrote on last edited by
    #1

    I have already installed 4.7.1 and Mobility 1.1.0 and now I am just trying to get Qt Creator up and working. I follow its instructions and made a destination folder for it in /usr/bin/qt-creator and then qmake the .pro file in the source directory (which goes without error), but fails on the make command with this output:

    @<command-line>:0: warning: missing terminating " character
    In file included from ../../../qt-creator-2.1.0-rc1-src/src/libs/qtconcurrent/multitask.h:33,
    from ../../../qt-creator-2.1.0-rc1-src/src/libs/qtconcurrent/moc_multitask.cpp:11:
    ../../../qt-creator-2.1.0-rc1-src/src/libs/qtconcurrent/qtconcurrent_global.h:33: fatal error: QtCore/qglobal.h: No such file or directory
    compilation terminated.
    make[3]: *** [moc_multitask.o] Error 1
    make[3]: Leaving directory /home/kp/src/libs/qtconcurrent' make[2]: *** [sub-qtconcurrent] Error 2 make[2]: Leaving directory /home/kp/src/libs'
    make[1]: *** [sub-libs] Error 2
    make[1]: Leaving directory `/home/kp/src'
    make: *** [sub-src] Error 2
    @

    Any help would be appreciated. I can provide more output if needed.

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

      Looks like you hosed your compiler call somehow (first line). Did you pass any special parameters to either qmake or make?

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kyleplattner
        wrote on last edited by
        #3

        Only the directory name with qmake.

        1 Reply Last reply
        0
        • V Offline
          V Offline
          vsorokin
          wrote on last edited by
          #4

          kyleplattner, Check this qglobal.h file in QTDIR/include/QtCore/ directory.

          --
          Vasiliy

          1 Reply Last reply
          0
          • K Offline
            K Offline
            kyleplattner
            wrote on last edited by
            #5

            This is its entire contents:

            @#include "../../src/corelib/global/qglobal.h"@

            Is that a problem?

            1 Reply Last reply
            0
            • V Offline
              V Offline
              vsorokin
              wrote on last edited by
              #6

              Hm... It's right for not installed qt, but for installed this file must be large.

              --
              Vasiliy

              1 Reply Last reply
              0
              • K Offline
                K Offline
                kyleplattner
                wrote on last edited by
                #7

                I never did get to the bottom of this. I have 4.7.1 libs installed. What should I do?

                1 Reply Last reply
                0
                • K Offline
                  K Offline
                  kyleplattner
                  wrote on last edited by
                  #8

                  I just figured out that it is trying to grab from the qt3 folder instead of the qt4 folder. How do I change this?

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

                    Looks like a wrongly called qmake?

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

                    1 Reply Last reply
                    0
                    • K Offline
                      K Offline
                      kyleplattner
                      wrote on last edited by
                      #10

                      Forgive my ignorance, but you will have to explain.

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

                        It could be that there are two Qt versions installed (Qt 3.x and Qt 4.x); if you call qmake of the Qt 3 installation, it will setup the wrong include paths.

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

                        1 Reply Last reply
                        0
                        • K Offline
                          K Offline
                          kyleplattner
                          wrote on last edited by
                          #12

                          How do I make sure it uses 4.x?

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

                            Call the right qmake (qmake-qt4)

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

                            1 Reply Last reply
                            0
                            • K Offline
                              K Offline
                              kyleplattner
                              wrote on last edited by
                              #14

                              right now qmake-qt4 runs without an error but doesn't do anything. I am going to reinstall 4.7.1 libraries and see if it changes anything.

                              1 Reply Last reply
                              0
                              • K Offline
                                K Offline
                                kyleplattner
                                wrote on last edited by
                                #15

                                Even when I call the correct qmake I get the same error.

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

                                  I do not have a recent ubuntu box with GUI at hand to check. Time to setup a new Virtual machine :-)

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

                                  1 Reply Last reply
                                  0
                                  • K Offline
                                    K Offline
                                    kyleplattner
                                    wrote on last edited by
                                    #17

                                    It worked once I downloaded the .bin file from the ftp site but not if I tried to compile myself.

                                    1 Reply Last reply
                                    0
                                    • L Offline
                                      L Offline
                                      LordZarquad
                                      wrote on last edited by
                                      #18

                                      how did downloading the .bin file help you? did you have to do any additional commands in the terminal?

                                      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