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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on 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 last edited by
      #12

      Qmake version: 1.07a (Qt 3.3.8b)

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on 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 last edited by
          #14

          rehl 6

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on 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 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
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on 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 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
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on 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 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
                      • SGaistS Offline
                        SGaistS Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on 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
                        • C Offline
                          C Offline
                          cpatterson
                          wrote on last edited by
                          #22

                          No. Unless there are some that have rolled off the command window (which retains 680 lines).

                          1 Reply Last reply
                          0
                          • SGaistS Offline
                            SGaistS Offline
                            SGaist
                            Lifetime Qt Champion
                            wrote on last edited by
                            #23

                            You can redirect the output to a file and inspect it to see where the error happened

                            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 last edited by
                              #24

                              You are right. There are several errors. Here are some of them:

                              g++ -c -pipe -Werror -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_CREATOR -DQML_BUILD_STATIC_LIB -DQBS_LIBRARY -DSRCDIR="/home/cpatterson/Downloads/qt-creator-2.8.0-src/src/shared/qbs/src/lib" -DQBS_VERSION="1.0.1" -DQT_NO_DEBUG -DQT_XML_LIB -DQT_CONCURRENT_LIB -DQT_TESTLIB_LIB -DQT_SCRIPT_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR="/home/cpatterson/Downloads/qt-creator-2.8.0-src/build/src/shared/qbs/src/lib" -I/usr/local/Qt-5.1.0/mkspecs/linux-g++ -I/home/cpatterson/Downloads/qt-creator-2.8.0-src/src/shared/qbs/src/lib -I/home/cpatterson/Downloads/qt-creator-2.8.0-src/src/shared/qbs/src/lib -I/home/cpatterson/Downloads/qt-creator-2.8.0-src/src/shared/qbs/src -I/usr/local/Qt-5.1.0/include -I/usr/local/Qt-5.1.0/include/QtXml -I/usr/local/Qt-5.1.0/include/QtConcurrent -I/usr/local/Qt-5.1.0/include/QtTest -I/usr/local/Qt-5.1.0/include/QtScript -I/usr/local/Qt-5.1.0/include/QtCore -I. -I. -o project.o /home/cpatterson/Downloads/qt-creator-2.8.0-src/src/shared/qbs/src/lib/api/project.cpp
                              .
                              .
                              .
                              cc1plus: warnings being treated as errors
                              /usr/local/Qt-5.1.0/include/QtCore/qbytearray.h:433: error: dereferencing pointer ‘<anonymous>’ does break strict-aliasing rules
                              /usr/local/Qt-5.1.0/include/QtCore/qbytearray.h:438: error: dereferencing pointer ‘<anonymous>’ does break strict-aliasing rules
                              /usr/local/Qt-5.1.0/include/QtCore/qarraydata.h:104: error: dereferencing pointer ‘<anonymous>’ does break strict-aliasing rules
                              /usr/local/Qt-5.1.0/include/QtCore/qgenericatomic.h:96: error: dereferencing pointer ‘<anonymous>’ does break strict-aliasing rules
                              /usr/local/Qt-5.1.0/include/QtCore/qbytearray.h:395: note: initialized from here
                              make[3]: *** [project.o] Error 1
                              make[3]: *** Waiting for unfinished jobs....
                              .
                              .
                              .
                              /usr/local/Qt-5.1.0/include/QtCore/qstring.h:918: note: initialized from here
                              make[3]: Leaving directory `/home/cpatterson/Downloads/qt-creator-2.8.0-src/build/src/shared/qbs/src/lib'
                              make[2]: *** [sub----shared-qbs-src-lib-make_first] Error 2
                              make[2]: *** Waiting for unfinished jobs....

                              1 Reply Last reply
                              0
                              • sierdzioS Offline
                                sierdzioS Offline
                                sierdzio
                                Moderators
                                wrote on last edited by
                                #25

                                You need to add it to PATH, or use directly:
                                @

                                either

                                export PATH=/path/to/qmake:$PATH

                                or

                                /path/to/qmake/qmake myProject.pro
                                @

                                (Z(:^

                                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