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. Can we install qt 4.8.1 in ubuntu 18.04?
Forum Updated to NodeBB v4.3 + New Features

Can we install qt 4.8.1 in ubuntu 18.04?

Scheduled Pinned Locked Moved Solved Installation and Deployment
35 Posts 7 Posters 12.8k Views 2 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.
  • V Offline
    V Offline
    vaibs
    wrote on 16 Apr 2019, 09:26 last edited by
    #26

    @mrjj Thank you .. Yes I have try..but i dont get any solution for this.. any another solution for display widget on gui after run?.I cant understand why this issue is generated..

    M 1 Reply Last reply 16 Apr 2019, 09:31
    0
    • V vaibs
      16 Apr 2019, 09:26

      @mrjj Thank you .. Yes I have try..but i dont get any solution for this.. any another solution for display widget on gui after run?.I cant understand why this issue is generated..

      M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 16 Apr 2019, 09:31 last edited by
      #27

      @vaibs
      Hi
      Try to run some of the samples that come with Qt or
      a new blank GUI project to see if that shows.
      I have not seen anything like this before.

      1 Reply Last reply
      1
      • V Offline
        V Offline
        vaibs
        wrote on 17 Apr 2019, 06:33 last edited by
        #28

        @mrjj Thank you so much for your reply..
        Solved this problem..

        A 1 Reply Last reply 17 Apr 2019, 07:16
        1
        • V vaibs
          17 Apr 2019, 06:33

          @mrjj Thank you so much for your reply..
          Solved this problem..

          A Offline
          A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on 17 Apr 2019, 07:16 last edited by
          #29

          @vaibs would you be so kind and tell us, HOW you solved the problem?

          And please mark this topic as SOLVED too.

          Thanks!

          Qt has to stay free or it will die.

          1 Reply Last reply
          1
          • A Offline
            A Offline
            Afflospark
            Banned
            wrote on 17 Apr 2019, 12:30 last edited by
            #30

            Hello,
            AS I read you want to install qt 4.8.1 First you have to download qt4.8.1 and place it on desktop.
            Then you have to open the terminal in your Ubuntu and enter your path of the desktop.
            Then you have to install some required dependencies
            sudo apt-get install build-essential check install
            After that, You have to extract that qt4.8.1 file using commands
            ar -xvzf qt-everywhere-opensource-src-4.8.1.tar.gz
            Then go to the extracted folder using
            cd qt-everywhere-opensource-src-4.8.1
            And then run Via follow these

            • ./configure
              make
              sudo check install
              Then you can install it via apt
              sudo dpkg -i path/to/output.deb
              Change path/to/output.deb to the path of the created .deb file.

            Hope this will help you.
            Thanks

            1 Reply Last reply
            0
            • V Offline
              V Offline
              vaibs
              wrote on 19 Apr 2019, 06:59 last edited by
              #31

              @Afflospark Thank you for reply.
              I follwed this step but while run "make" i got a many errors.I have upload that screenshot above.So i used qt 4.8.7 for compile and run application.

              M 1 Reply Last reply 19 Apr 2019, 07:23
              0
              • V vaibs
                19 Apr 2019, 06:59

                @Afflospark Thank you for reply.
                I follwed this step but while run "make" i got a many errors.I have upload that screenshot above.So i used qt 4.8.7 for compile and run application.

                M Offline
                M Offline
                mrjj
                Lifetime Qt Champion
                wrote on 19 Apr 2019, 07:23 last edited by
                #32

                @vaibs
                Hi
                so what was wrong first ?
                Since there was nothing on the sceen ?
                and what did you do to make it work ?

                1 Reply Last reply
                0
                • V Offline
                  V Offline
                  vaibs
                  wrote on 24 Apr 2019, 07:17 last edited by
                  #33

                  @mrjj Wrong with environment ..
                  go in etc/environment
                  then add QT_X11_NO_MITSHM=1.
                  then screen show all widget
                  Thank you for your support..

                  1 Reply Last reply
                  3
                  • M Offline
                    M Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on 24 Apr 2019, 08:44 last edited by
                    #34

                    @vaibs said in Can we install qt 4.8.1 in ubuntu 18.04?:

                    QT_X11_NO_MITSHM

                    Thank you for reporting back :)

                    V 1 Reply Last reply 26 Apr 2019, 06:58
                    0
                    • M mrjj
                      24 Apr 2019, 08:44

                      @vaibs said in Can we install qt 4.8.1 in ubuntu 18.04?:

                      QT_X11_NO_MITSHM

                      Thank you for reporting back :)

                      V Offline
                      V Offline
                      vaibs
                      wrote on 26 Apr 2019, 06:58 last edited by
                      #35

                      @mrjj Thank you so much

                      1 Reply Last reply
                      0

                      35/35

                      26 Apr 2019, 06:58

                      • Login

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