Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Use Solaris studio 12.3 in Redhat
Forum Updated to NodeBB v4.3 + New Features

Use Solaris studio 12.3 in Redhat

Scheduled Pinned Locked Moved General and Desktop
14 Posts 2 Posters 4.7k 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.
  • H Offline
    H Offline
    HuaMin
    wrote on last edited by
    #5

    Hi,
    After I’ve extracted the download, I got this
    qt-everywhere-opensource-src-4.8.2

    how to make use of libraries of that, as when I tired to put this in my app
    #include <QDialog>

    I’ve got this.
    "main.cpp", line 10: Error: Could not open include file<QDialog>.

    Many Thanks & Best Regards,
    HuaMin

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

      Mate, please use documentation and Google before posting. Also, or rather first, take a look at readme files inside the package you have downloaded.

      You need to configure, compile and then install the libraries, before they are ready to use. That is why installing the SDK is a bit easier. You might need to update your PATH, too, so that your build chain is able to see the headers and libs.

      (Z(:^

      1 Reply Last reply
      0
      • H Offline
        H Offline
        HuaMin
        wrote on last edited by
        #7

        For the SDK, I’ve got one file called “QtSdk-offline-linux-x86-v1.2.1.run” from Qt. How to set it up in Redhat?

        Many Thanks & Best Regards,
        HuaMin

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

          Set it to executable and simply run. In terminal, this would look like this:
          @
          chmod +x QtSdk-offline-linux-x86-v1.2.1.run
          ./QtSdk-offline-linux-x86-v1.2.1.run
          @

          (Z(:^

          1 Reply Last reply
          0
          • H Offline
            H Offline
            HuaMin
            wrote on last edited by
            #9

            Sorry I do get this
            [root@hpi5 ~]# chmod +x QtSdk-offline-linux-x86-v1.2.1.run
            [root@hpi5 ~]# ./QtSdk-offline-linux-x86-v1.2.1.run
            ./QtSdk-offline-linux-x86-v1.2.1.run: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.9' not found (required by ./QtSdk-offline-linux-x86-v1.2.1.run) ./QtSdk-offline-linux-x86-v1.2.1.run: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.11' not found (required by ./QtSdk-offline-linux-x86-v1.2.1.run)
            ./QtSdk-offline-linux-x86-v1.2.1.run: /lib/libc.so.6: version GLIBC_2.9' not found (required by ./QtSdk-offline-linux-x86-v1.2.1.run) ./QtSdk-offline-linux-x86-v1.2.1.run: /lib/libc.so.6: version GLIBC_2.10' not found (required by ./QtSdk-offline-linux-x86-v1.2.1.run)
            ./QtSdk-offline-linux-x86-v1.2.1.run: /lib/libc.so.6: version GLIBC_2.11' not found (required by ./QtSdk-offline-linux-x86-v1.2.1.run) ./QtSdk-offline-linux-x86-v1.2.1.run: /lib/libc.so.6: version GLIBC_2.7' not found (required by ./QtSdk-offline-linux-x86-v1.2.1.run)
            [root@hpi5 ~]#

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

              Install or update glibc. You have to take care of dependencies.

              (Z(:^

              1 Reply Last reply
              0
              • H Offline
                H Offline
                HuaMin
                wrote on last edited by
                #11

                Good day Sierdzio,
                After I’ve set up glibc, like these
                [root@hpi5 ~]# yum install glibc*
                Loaded plugins: rhnplugin, security
                This system is not registered with ULN.
                ULN support will be disabled.
                Setting up Install Process
                Package glibc-devel-2.5-81.el5_8.2.i386 already installed and latest version
                Package glibc-2.5-81.el5_8.2.i686 already installed and latest version
                Package glibc-headers-2.5-81.el5_8.2.i386 already installed and latest version
                Package glibc-utils-2.5-81.el5_8.2.i386 already installed and latest version
                Package glibc-common-2.5-81.el5_8.2.i386 already installed and latest version
                Nothing to do
                [root@hpi5 ~]#

                Why do I still get these?
                [root@hpi5 ~]# chmod +x QtSdk-offline-linux-x86-v1.2.1.run
                [root@hpi5 ~]# ./QtSdk-offline-linux-x86-v1.2.1.run
                ./QtSdk-offline-linux-x86-v1.2.1.run: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.9' not found (required by ./QtSdk-offline-linux-x86-v1.2.1.run) ./QtSdk-offline-linux-x86-v1.2.1.run: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.11' not found (required by ./QtSdk-offline-linux-x86-v1.2.1.run)
                ./QtSdk-offline-linux-x86-v1.2.1.run: /lib/i686/nosegneg/libc.so.6: version GLIBC_2.9' not found (required by ./QtSdk-offline-linux-x86-v1.2.1.run) ./QtSdk-offline-linux-x86-v1.2.1.run: /lib/i686/nosegneg/libc.so.6: version GLIBC_2.10' not found (required by ./QtSdk-offline-linux-x86-v1.2.1.run)
                ./QtSdk-offline-linux-x86-v1.2.1.run: /lib/i686/nosegneg/libc.so.6: version GLIBC_2.11' not found (required by ./QtSdk-offline-linux-x86-v1.2.1.run) ./QtSdk-offline-linux-x86-v1.2.1.run: /lib/i686/nosegneg/libc.so.6: version GLIBC_2.7' not found (required by ./QtSdk-offline-linux-x86-v1.2.1.run)
                [root@hpi5 ~]#

                Many Thanks & Best Regards,
                HuaMin

                1 Reply Last reply
                0
                • H Offline
                  H Offline
                  HuaMin
                  wrote on last edited by
                  #12

                  Good day Sierdzio,
                  Any advice to this?

                  Many Thanks & Best Regards,
                  HuaMin

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

                    Sorry, no clue. I am on Kubuntu and here everything works fine.

                    (Z(:^

                    1 Reply Last reply
                    0
                    • H Offline
                      H Offline
                      HuaMin
                      wrote on last edited by
                      #14

                      Can you please see my issue? Is this site the only place to take Qt?

                      Many Thanks & Best Regards,
                      HuaMin

                      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