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. [SOLVED] Not installing in Ubuntu 13.10
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Not installing in Ubuntu 13.10

Scheduled Pinned Locked Moved Installation and Deployment
15 Posts 2 Posters 5.3k 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.
  • M Offline
    M Offline
    meliansz
    wrote on last edited by
    #3

    Ok, I guessed I was just missing some packages... how can I get them?

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

      You can either use Ubuntu's graphical package manager or the command line and apt-get

      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
      • M Offline
        M Offline
        meliansz
        wrote on last edited by
        #5

        Oh, sorry, no, I meant what is the name of the package to install... sorry, but I can't find xlib in the packages list in synaptic :(

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

          Oh, ok, then from the top of my head it something like libx11-dev

          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
          • M Offline
            M Offline
            meliansz
            wrote on last edited by
            #7

            Ok, I've found it! Now I have a different error message: it says that there is no operation to execute as "first":

            @Creating qmake. Please wait...
            make: Nessuna operazione da eseguire per "first".
            Basic XLib functionality test failed!
            You might need to modify the include and library search paths by editing
            QMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 in /home/sara/qt-everywhere-opensource-src-4.8.5/mkspecs/linux-g++.@

            thanks again!

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

              You still have the test failing, please, run configure with -v to see what exactly is missing. X11 uses several libs

              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
              • M Offline
                M Offline
                meliansz
                wrote on last edited by
                #9

                It doesn't seem to encounter any error in the configuring process: this is what it says with the -v option

                @Qt is now configured for building. Just run 'make'.
                Once everything is built, you must run 'make install'.
                Qt will be installed into /usr/local/Trolltech/Qt-4.8.5

                To reconfigure, run 'make confclean' and 'configure'.@

                Thanks again for your help!

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

                  You're welcome !

                  Since you have it compiling now, please update the thread title prepending [solved] so other forum users may know a solution has been found :)

                  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
                  • M Offline
                    M Offline
                    meliansz
                    wrote on last edited by
                    #11

                    Well, I'm afraid it is not over: when I give the make command, it still gives me an error... :(

                    @/usr/bin/ld.gold: errore: impossibile trovare -lXrender
                    collect2: error: ld returned 1 exit status
                    make[2]: *** [../../../../../../lib/libQtWebKit.so.4.9.4] Errore 1
                    make[2]: uscita dalla directory "/home/sara/qt-everywhere-opensource-src-4.8.5/src/3rdparty/webkit/Source/WebKit/qt"
                    make[1]: *** [sub-WebKit-qt-QtWebKit-pro-make_default-ordered] Errore 2
                    make[1]: uscita dalla directory "/home/sara/qt-everywhere-opensource-src-4.8.5/src/3rdparty/webkit/Source"
                    make: *** [sub-webkit-make_default-ordered] Errore 2
                    @

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

                      You are missing the libxrender-dev package

                      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
                      • M Offline
                        M Offline
                        meliansz
                        wrote on last edited by
                        #13

                        I thank you again, also because I'm starting to feel a bit discouraged. Isn't there a place where I could find all the necessary packages for compiling the library? I'm afraid I'm stealing you a lot of time! :( After installing the libxrender-dev package, this is the error :(

                        @helpviewer_qwv.cpp:160:1: error: expected class-name before ‘{’ token
                        {
                        ^
                        helpviewer_qwv.cpp:165:13: error: ‘QWebPage’ does not name a type
                        virtual QWebPage *createWindow(QWebPage::WebWindowType);
                        ^
                        helpviewer_qwv.cpp:166:32: error: ‘WebAction’ has not been declared
                        virtual void triggerAction(WebAction action, bool checked = false);
                        ^
                        helpviewer_qwv.cpp:168:42: error: ‘QWebFrame’ has not been declared
                        virtual bool acceptNavigationRequest(QWebFrame frame,
                        ^
                        helpviewer_qwv.cpp:169:41: error: ‘NavigationType’ has not been declared
                        const QNetworkRequest &request, NavigationType type);
                        ^
                        helpviewer_qwv.cpp: In constructor ‘HelpPage::HelpPage(QObject
                        )’:
                        helpviewer_qwv.cpp:181:7: error: class ‘HelpPage’ does not have any field named ‘QWebPage’
                        : QWebPage(parent)
                        ^
                        helpviewer_qwv.cpp: At global scope:
                        helpviewer_qwv.cpp:189:1: error: ‘QWebPage’ does not name a type
                        QWebPage *HelpPage::createWindow(QWebPage::WebWindowType)
                        ^
                        helpviewer_qwv.cpp:199:30: error: variable or field ‘triggerAction’ declared void
                        void HelpPage::triggerAction(WebAction action, bool checked)
                        ^
                        helpviewer_qwv.cpp:199:30: error: ‘WebAction’ was not declared in this scope
                        helpviewer_qwv.cpp:199:48: error: expected primary-expression before ‘bool’
                        void HelpPage::triggerAction(WebAction action, bool checked)
                        ^
                        make[4]: *** [.obj/release-shared/helpviewer_qwv.o] Errore 1
                        make[4]: uscita dalla directory "/home/sara/qt-everywhere-opensource-src-4.8.5/tools/assistant/tools/assistant"
                        make[3]: *** [sub-assistant-make_default-ordered] Errore 2
                        make[3]: uscita dalla directory "/home/sara/qt-everywhere-opensource-src-4.8.5/tools/assistant/tools"
                        make[2]: *** [sub-tools-make_default-ordered] Errore 2
                        make[2]: uscita dalla directory "/home/sara/qt-everywhere-opensource-src-4.8.5/tools/assistant"
                        make[1]: *** [sub-assistant-make_default-ordered] Errore 2
                        make[1]: uscita dalla directory "/home/sara/qt-everywhere-opensource-src-4.8.5/tools"
                        make: *** [sub-tools-make_default-ordered] Errore 2
                        @

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

                          This is strange, what I would suggest is to first read "this":http://qt-project.org/doc/qt-4.8/requirements-x11.html you should install the requirement listed (no need to compile anything, just get the packages)

                          Then start clean. If you configured Qt directly in the sources you need to make a confclean (or if you want to be really sure it's clean delete the folder and start from a fresh one) However, I would recommend using an out of source build.

                          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
                          • M Offline
                            M Offline
                            meliansz
                            wrote on last edited by
                            #15

                            Ok, the list of the requirements was precious: I've eliminated all the old files and started from scratch and I finally managed it!
                            Thank you very much for your patience and for your precious advices!
                            Sara

                            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