Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Does QT for X11 include QT Creator?
Forum Updated to NodeBB v4.3 + New Features

Does QT for X11 include QT Creator?

Scheduled Pinned Locked Moved Installation and Deployment
25 Posts 4 Posters 9.4k 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.
  • S Offline
    S Offline
    sierdzio
    Moderators
    wrote on 6 Aug 2013, 06:28 last edited by
    #2

    No, source packages for Qt contain Qt libraries only. Qt Creator is a separate product (but is shipped with prebuilt Qt SDKs). And yes, the libraries you have are enough for Creator. Just check out it's README for instructions.

    (Z(:^

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andre
      wrote on 6 Aug 2013, 07:10 last edited by
      #3

      And please, note that it is Qt, not QT. QT is usually associated with Apple's QuickTime, and we don't want that association do we?

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sierdzio
        Moderators
        wrote on 6 Aug 2013, 07:14 last edited by
        #4

        [quote author="Andre" date="1375773035"]QT is usually associated with Apple's QuickTime, and we don't want that association do we?[/quote]

        Hell no :) But I grew tired of seeing that being pointed out everywhere, so I stopped paying attention when people get it "wrong". It is not a big mistake anyway. And Google searches in lowercase only, so for them Qt and QT are equal.

        (Z(:^

        1 Reply Last reply
        0
        • C Offline
          C Offline
          cpatterson
          wrote on 6 Aug 2013, 19:46 last edited by
          #5

          Sierdzio, thanks for the help. I downloaded Creator and opened the README file for installation instructions. But the qmake -r command wouldn't work. There isn't a Makefile at the top level. I found a Makefile.linux in one of the subdirectories. Should I use that?

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 6 Aug 2013, 20:54 last edited by
            #6

            Hi,

            Did you download the sources or the pre-built version of QtCreator ?

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • C Offline
              C Offline
              cpatterson
              wrote on 6 Aug 2013, 22:17 last edited by
              #7

              I downloaded Qt Creator source code tar.gz (which is "qt-creator-2.8.0-src.tar.gz").

              1 Reply Last reply
              0
              • A Offline
                A Offline
                andre
                wrote on 7 Aug 2013, 05:41 last edited by
                #8

                I'd say: why don't you try and see if QtCreator isn't already provided as a package by your distro, or perhaps even an alternate repository for your distribution?

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  sierdzio
                  Moderators
                  wrote on 7 Aug 2013, 05:42 last edited by
                  #9

                  It should work, then. This is what I usually do to build QtC:
                  @
                  cd /my/extracted/qtcreator
                  mkdir build
                  cd build
                  qmake ../qtcreator.pro
                  make -j9
                  @

                  That's it. So far it has worked every time, also when building with QBS enabled.

                  (Z(:^

                  1 Reply Last reply
                  0
                  • C Offline
                    C Offline
                    cpatterson
                    wrote on 7 Aug 2013, 19:22 last edited by
                    #10

                    Thank you. I followed the instructions, and I received these errors after the qmake:

                    qtcreator.pri:7: Unknown test function: isEqual
                    qtcreator.pri:19: Unknown test function: defineReplace
                    qtcreator.pri:32: Unknown test function: defineReplace
                    qtcreator.pri:38: Unknown test function: defineReplace
                    qtcreator.pri:51: Unknown test function: defineTest
                    qtcreator.pri:74: Unknown test function: isEqual
                    qtcreator.pri:85: Unknown test function: defineReplace
                    qtcreator.pri:100: Unknown test function: CONFIG
                    qtcreator.pri:118: Unknown replace function: re_escape
                    qtcreator.pri:119: Unknown replace function: cleanPath
                    qtcreator.pri:120: Unknown replace function: re_escape
                    qtcreator.pri:149: Unknown test function: isEqual
                    qtcreator.pri:156: Parse Error ('$$IDE_SOURCE_TREE/src/libs $$IDE_SOURCE_TREE/tools $$IDE_SOURCE_TREE/src/plugins')
                    qtcreator.pro:4: Unknown test function: minQtVersion
                    Project MESSAGE: Cannot build Qt Creator with Qt version .
                    Project ERROR: Use at least Qt 4.8.0.

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on 7 Aug 2013, 19:32 last edited by
                      #11

                      What does your qmake --version return ?

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      0
                      • C Offline
                        C Offline
                        cpatterson
                        wrote on 7 Aug 2013, 19:34 last edited by
                        #12

                        Qmake version: 1.07a (Qt 3.3.8b)

                        1 Reply Last reply
                        0
                        • S Offline
                          S Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on 7 Aug 2013, 19:37 last edited by
                          #13

                          3.3.8 ? It's a really really old qmake... What system are you running that uses such an outdated Qt ?

                          Interested in AI ? www.idiap.ch
                          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                          1 Reply Last reply
                          0
                          • C Offline
                            C Offline
                            cpatterson
                            wrote on 7 Aug 2013, 19:37 last edited by
                            #14

                            rehl 6

                            1 Reply Last reply
                            0
                            • S Offline
                              S Offline
                              SGaist
                              Lifetime Qt Champion
                              wrote on 7 Aug 2013, 20:04 last edited by
                              #15

                              Like the error message says, you have to first install at least Qt 4.8

                              Interested in AI ? www.idiap.ch
                              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                              1 Reply Last reply
                              0
                              • C Offline
                                C Offline
                                cpatterson
                                wrote on 7 Aug 2013, 20:12 last edited by
                                #16

                                I downloaded the Qt source code tar.gz (which is “qt-everywhere-opensource-src-5.1.0.tar.gz”) and used the instructions from http://qt-project.org/doc/qt-5.0/qtdoc/install-x11.html to make and install. I also downloaded Qt Creator source code tar.gz (which is “qt-creator-2.8.0-src.tar.gz”), looked at the README file for installation instructions, but the qmake didn’t work. So, evidently the system isn't recognizing the newer version of Qt. How can I fix that?

                                1 Reply Last reply
                                0
                                • S Offline
                                  S Offline
                                  SGaist
                                  Lifetime Qt Champion
                                  wrote on 7 Aug 2013, 20:18 last edited by
                                  #17

                                  You can simply use the full path to your Qt 5.1 qmake.

                                  Building & installing Qt from sources won't overwrite your system Qt install (that would wreak havoc)

                                  Interested in AI ? www.idiap.ch
                                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                  1 Reply Last reply
                                  0
                                  • C Offline
                                    C Offline
                                    cpatterson
                                    wrote on 7 Aug 2013, 20:42 last edited by
                                    #18

                                    Okay, thanks! That worked. After the qmake worked, I continued to follow sierdzio's instructions (shown below), and performed the "make -j9".

                                    1. cd /my/extracted/qtcreator
                                    2. mkdir build
                                    3. cd build
                                    4. qmake ../qtcreator.pro
                                    5. make -j9

                                    After the "make -j9", it appeared to make until I received these errors:

                                    make[3]: Leaving directory /home/cpatterson/Downloads/qt-creator-2.8.0-src/build/src/libs/ssh' make[2]: Leaving directory /home/cpatterson/Downloads/qt-creator-2.8.0-src/build/src/libs'
                                    make[1]: *** [sub-libs-make_first-ordered] Error 2
                                    make[1]: Leaving directory `/home/cpatterson/Downloads/qt-creator-2.8.0-src/build/src'
                                    make: *** [sub-src-make_first-ordered] Error 2

                                    Do you know what's wrong with this? I'm sorry to know such a small amount, but I'm trying to learn. Thanks!

                                    1 Reply Last reply
                                    0
                                    • S Offline
                                      S Offline
                                      SGaist
                                      Lifetime Qt Champion
                                      wrote on 7 Aug 2013, 20:44 last edited by
                                      #19

                                      You'll have to post more lines, where the error currently happens

                                      Interested in AI ? www.idiap.ch
                                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                      1 Reply Last reply
                                      0
                                      • C Offline
                                        C Offline
                                        cpatterson
                                        wrote on 7 Aug 2013, 20:49 last edited by
                                        #20

                                        Is this what you mean? These are the last lines in the make.

                                        ln -s libQtcSsh.so.1.0.0 libQtcSsh.so
                                        ln -s libQtcSsh.so.1.0.0 libQtcSsh.so.1
                                        ln -s libQtcSsh.so.1.0.0 libQtcSsh.so.1.0
                                        rm -f ../../../lib/qtcreator/libQtcSsh.so.1.0.0
                                        rm -f ../../../lib/qtcreator/libQtcSsh.so
                                        rm -f ../../../lib/qtcreator/libQtcSsh.so.1
                                        rm -f ../../../lib/qtcreator/libQtcSsh.so.1.0
                                        mv -f libQtcSsh.so.1.0.0 ../../../lib/qtcreator/
                                        mv -f libQtcSsh.so ../../../lib/qtcreator/
                                        mv -f libQtcSsh.so.1 ../../../lib/qtcreator/
                                        mv -f libQtcSsh.so.1.0 ../../../lib/qtcreator/
                                        make[3]: Leaving directory /home/cpatterson/Downloads/qt-creator-2.8.0-src/build/src/libs/ssh' make[2]: Leaving directory /home/cpatterson/Downloads/qt-creator-2.8.0-src/build/src/libs'
                                        make[1]: *** [sub-libs-make_first-ordered] Error 2
                                        make[1]: Leaving directory `/home/cpatterson/Downloads/qt-creator-2.8.0-src/build/src'
                                        make: *** [sub-src-make_first-ordered] Error 2

                                        1 Reply Last reply
                                        0
                                        • S Offline
                                          S Offline
                                          SGaist
                                          Lifetime Qt Champion
                                          wrote on 7 Aug 2013, 20:57 last edited by
                                          #21

                                          Don't you have other lines that contains "error" ?

                                          Interested in AI ? www.idiap.ch
                                          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                          1 Reply Last reply
                                          0

                                          11/25

                                          7 Aug 2013, 19:32

                                          • Login

                                          • Login or register to search.
                                          11 out of 25
                                          • First post
                                            11/25
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups
                                          • Search
                                          • Get Qt Extensions
                                          • Unsolved