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. Installing QT5.0.1 on linux
Forum Updated to NodeBB v4.3 + New Features

Installing QT5.0.1 on linux

Scheduled Pinned Locked Moved Installation and Deployment
17 Posts 4 Posters 10.8k 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.
  • A Offline
    A Offline
    aldo
    wrote on last edited by
    #7

    I am unfortunatly tied to SLES.

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

      In that case build Qt5 yourself. One hard core alternative is to build your own libxcb with XInput2 extension using the same other options as Suse and use that one on your system (beware, you might break something)

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

        for the hard core alternative, I think that I am not good enough to do it without any risk.
        to build Qt5 myself what do I have to do ?

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

          Grab the Qt sources, ./configure, make, make install (you might need to install some dependencies, have a look at the build documentation)

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

            Hi SGaist,

            I am also trying this Qt5.1.0 install on suse entreprise 11 sp2 .While installing and runnig time i am also getting following error
            ./qtcreator: symbol lookup error: /opt/Qt5.1.0/Tools/QtCreator/bin/plugins/platforms/libqxcb.so: undefined symbol: XIQueryVersion

            I started build Qt-5.1.0 source ,but while running make i am getting following errors

            *../../../include/QtCore/5.1.0/QtCore/private/../../../../../src/corelib/kernel/qvariant_p.h:225: error: request for member ‘isNull’ in ‘*0u’, which is of non-class type ‘const bool’ *

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

              Did you install all dependencies and what compiler are you using ? How did you configure your Qt 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
              • S Offline
                S Offline
                sreeram
                wrote on last edited by
                #13

                Hi SGaist,

                Thanks for your reply,

                I have not installed any dependencies ,I dont know which packages needs to be install for Qt on SLES(suse enterprise linux desktop 11sp3).

                I have tried directly with Qt-5.1.0 binary (qt-linux-opensource-5.1.0-x86-offline.run) but while running binary i am getting following error

                ./qtcreator: symbol lookup error: /opt/Qt5.1.0/Tools/QtCreator/bin/plugins/platforms/libqxcb.so: undefined symbol: XIQueryVersion

                In Qt forums Some people faced same probelm they have suggisted install libxcb package.
                But my os already has that package (xorg-x11-libxcb-7.4-1.29.1).

                For building Qt-5.1.0 i have downloaded source code (qt-everywhere-opensource-src-5.1.0) and ran follwing steps.
                -> ./configure
                ->make
                But while compiling with make i am getting lot of errors.

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

                  To compile Qt 5 have a look at "this page":http://qt-project.org/wiki/Building_Qt_5_from_Git just check that you have the dependencies listed there in order to build 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
                  • S Offline
                    S Offline
                    sreeram
                    wrote on last edited by
                    #15

                    I have tried to install using following command (copied from link which you have posted )but not able to install all packages.This command is for SUSE 12.2 but my operating system is SUSE 11 SP3.

                    sudo zypper in xorg-x11-libxcb-devel xcb-util-devel xcb-util-image-devel xcb-util-keysyms-devel xcb-util-renderutil-devel xcb-util-wm-devel xorg-x11-devel libxkbcommon-devel

                    The following message is displaying

                    Loading repository data...
                    Reading installed packages...
                    Package 'xorg-x11-devel' not found.
                    Package 'xorg-x11-libxcb-devel' not found.
                    'libxkbcommon-devel' not found in package names. Trying capabilities.
                    No provider of 'libxkbcommon-devel' found.
                    'xcb-util-devel' not found in package names. Trying capabilities.
                    No provider of 'xcb-util-devel' found.
                    'xcb-util-image-devel' not found in package names. Trying capabilities.
                    No provider of 'xcb-util-image-devel' found.
                    'xcb-util-keysyms-devel' not found in package names. Trying capabilities.
                    No provider of 'xcb-util-keysyms-devel' found.
                    'xcb-util-renderutil-devel' not found in package names. Trying capabilities.
                    No provider of 'xcb-util-renderutil-devel' found.
                    'xcb-util-wm-devel' not found in package names. Trying capabilities.
                    No provider of 'xcb-util-wm-devel' found.
                    Resolving package dependencies...

                    Nothing to do.

                    Thanks
                    Sreeram

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

                      Then I can only say that you have to look for the equivalent packages for SUSE 11

                      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
                      • K Offline
                        K Offline
                        kjool
                        wrote on last edited by
                        #17

                        Hi SGaist, Can you tell me, how to fix bug? I used SUSE 11SP3, I was find some package .rpm
                        eg: xcb-util-devel.i586 rpm and installed it, but it show this package existed.
                        Please, help me. Thanks

                        Loading repository data…
                        Reading installed packages…
                        Package ‘xorg-x11-devel’ not found.
                        Package ‘xorg-x11-libxcb-devel’ not found.
                        ‘libxkbcommon-devel’ not found in package names. Trying capabilities.
                        No provider of ‘libxkbcommon-devel’ found.
                        ‘xcb-util-devel’ not found in package names. Trying capabilities.
                        No provider of ‘xcb-util-devel’ found.
                        ‘xcb-util-image-devel’ not found in package names. Trying capabilities.
                        No provider of ‘xcb-util-image-devel’ found.
                        ‘xcb-util-keysyms-devel’ not found in package names. Trying capabilities.
                        No provider of ‘xcb-util-keysyms-devel’ found.
                        ‘xcb-util-renderutil-devel’ not found in package names. Trying capabilities.
                        No provider of ‘xcb-util-renderutil-devel’ found.
                        ‘xcb-util-wm-devel’ not found in package names. Trying capabilities.
                        No provider of ‘xcb-util-wm-devel’ found.
                        Resolving package dependencies…
                        [quote author="SGaist" date="1385066164"]Then I can only say that you have to look for the equivalent packages for SUSE 11[/quote]

                        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