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.1k 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 last edited by
    #8

    i have recommended use only qt 4.8.1 ..I have also try 4.8.7 but issue is not solved...I want compile code that is wrote on qt 4.8.1..which version we have use for compile this code?i want compile this code with all function and without error..I compiled that code on qt5.12.0 ,code is compiled but some API are not work on qt 5.12.0 .

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

      What issue ? What problem do you have compiling your code with 4.8.7 that you didn't have with 4.8.1 ?

      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
      1
      • V Offline
        V Offline
        vaibs
        wrote on last edited by
        #10

        I dont understand ..because this code build succesfully..but some function of application is not work .I have find some obsolete API so some function of apllication work well.but i cant find other obsolete API..Because error not occure..

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

          Can you please directly give more details ?

          What obsolete APIs is this application using ?

          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
          2
          • V Offline
            V Offline
            vaibs
            wrote on last edited by
            #12

            i want build and run this code "https://github.com/B9Creations/B9Creator " .

            jsulmJ 1 Reply Last reply
            0
            • V vaibs

              i want build and run this code "https://github.com/B9Creations/B9Creator " .

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #13

              @vaibs Why don't you say what exact problems do you have when you compile this app?
              Do you expect others to try to compile it with Qt 4.8.1?

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              1
              • V Offline
                V Offline
                vaibs
                wrote on last edited by
                #14

                No .I dont think this..I have build succefully and run ..but some function not work because some api are obsolete..But i couldnt find obsolete api..because i have not find error of obsolete api..I cant explain exact where problm is generated

                aha_1980A mrjjM 2 Replies Last reply
                0
                • V vaibs

                  No .I dont think this..I have build succefully and run ..but some function not work because some api are obsolete..But i couldnt find obsolete api..because i have not find error of obsolete api..I cant explain exact where problm is generated

                  aha_1980A Offline
                  aha_1980A Offline
                  aha_1980
                  Lifetime Qt Champion
                  wrote on last edited by
                  #15

                  @vaibs that's why we recommend using Qt 4.8.7.

                  that is fully API compatible to 4.8.1, just some bugs fixed.

                  Qt has to stay free or it will die.

                  1 Reply Last reply
                  1
                  • V vaibs

                    No .I dont think this..I have build succefully and run ..but some function not work because some api are obsolete..But i couldnt find obsolete api..because i have not find error of obsolete api..I cant explain exact where problm is generated

                    mrjjM Offline
                    mrjjM Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on last edited by
                    #16

                    @vaibs
                    Hi
                    What about using the debugger and step into the function that seems not to work when
                    clicking in the interface.?
                    That way you can discover why its not working.

                    1 Reply Last reply
                    0
                    • V Offline
                      V Offline
                      vaibs
                      wrote on last edited by
                      #17

                      i want only install qt 4.8.1..I used "qt-everywhere-opensource-src-4.8.1.tar" .but when run "make" i have occure error in this tar file..![alt text](0_1555315332422_Screenshot from 2019-04-15 13-31-46.png image url)

                      @mrjj @aha_1980 Thanks i will try once again all process

                      1 Reply Last reply
                      0
                      • mrjjM Offline
                        mrjjM Offline
                        mrjj
                        Lifetime Qt Champion
                        wrote on last edited by
                        #18

                        Hi
                        ok. it will most likely result in the same error as it seems to be something with /usr/include
                        What we are trying to tell you is that 4.8.7 IS very close to 4.8.1 so
                        the application should work and we are not sure what API should be obsolete as
                        it should not be the case.

                        1 Reply Last reply
                        1
                        • V Offline
                          V Offline
                          vaibs
                          wrote on last edited by
                          #19

                          Hii,Thanks for reply.
                          i have trying following step for install qt 4.8.7.

                          1. gunzip qt-everywhere-opensource-src-4.8.7.tar.gz
                            2)tar xf qt-everywhere-opensource-src-4.8.7.tar
                            3)cd qt-everywhere-opensource-src-4.8.7/
                            4)./configure
                            Configure file without error,then i run "make" following error occure.I solved this error but then again generated new error while run "make".Why this happend?I couldnt install qt 4.8.7 ..how i can i0_1555320389906_Screenshot from 2019-04-15 14-54-47.png nstall qt 4.8.7 and qt 4.8.1 on ubuntu 18.04 lts without error?please help
                          mrjjM 1 Reply Last reply
                          0
                          • V vaibs

                            Hii,Thanks for reply.
                            i have trying following step for install qt 4.8.7.

                            1. gunzip qt-everywhere-opensource-src-4.8.7.tar.gz
                              2)tar xf qt-everywhere-opensource-src-4.8.7.tar
                              3)cd qt-everywhere-opensource-src-4.8.7/
                              4)./configure
                              Configure file without error,then i run "make" following error occure.I solved this error but then again generated new error while run "make".Why this happend?I couldnt install qt 4.8.7 ..how i can i0_1555320389906_Screenshot from 2019-04-15 14-54-47.png nstall qt 4.8.7 and qt 4.8.1 on ubuntu 18.04 lts without error?please help
                            mrjjM Offline
                            mrjjM Offline
                            mrjj
                            Lifetime Qt Champion
                            wrote on last edited by
                            #20

                            @vaibs
                            well for 4.8.7 just do
                            sudo apt install qt4-default

                            1 Reply Last reply
                            1
                            • V Offline
                              V Offline
                              vaibs
                              wrote on last edited by
                              #21

                              @mrjj Thank you..I will try ..
                              Can you tell me why this error generated?because i have try above step for any qt installation error is generated.If any one have without error tar file for installation qt 4.8 using above step so its appreciated ..Thanks i will try.

                              mrjjM 1 Reply Last reply
                              0
                              • V vaibs

                                @mrjj Thank you..I will try ..
                                Can you tell me why this error generated?because i have try above step for any qt installation error is generated.If any one have without error tar file for installation qt 4.8 using above step so its appreciated ..Thanks i will try.

                                mrjjM Offline
                                mrjjM Offline
                                mrjj
                                Lifetime Qt Champion
                                wrote on last edited by
                                #22

                                @vaibs
                                Hi
                                sadly no. it seems too new include/compiler or something like that.

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

                                  It's not a problem of the tar ball. Qt 4.8.7 was released almost 8 years ago so 4.8.1 is even older. Compilers have changed in between.

                                  Hence our recommendation from the start: use the version provided by your distribution. It has been compiled with the compiler you are currently using.

                                  If the application uses API that have been obsoleted, then these are likely API that shouldn't have been used from the start. Qt uses deprecation to warn people about APIs that should not be used anymore and usually obsoletes them in major release change so an obsolete API should not be taken lightly.

                                  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
                                  2
                                  • V Offline
                                    V Offline
                                    vaibs
                                    wrote on last edited by
                                    #24

                                    Thank you all of you for your great response..
                                    @mrjj I have compile and run code using qt 4.8.7 .its build without single error and run also..but after run application not show name of any widget.0_1555338071269_Screenshot from 2019-04-15 19-48-09.png

                                    mrjjM 1 Reply Last reply
                                    0
                                    • V vaibs

                                      Thank you all of you for your great response..
                                      @mrjj I have compile and run code using qt 4.8.7 .its build without single error and run also..but after run application not show name of any widget.0_1555338071269_Screenshot from 2019-04-15 19-48-09.png

                                      mrjjM Offline
                                      mrjjM Offline
                                      mrjj
                                      Lifetime Qt Champion
                                      wrote on last edited by
                                      #25

                                      @vaibs
                                      Hi
                                      Ok, that is pretty strange.
                                      i assume normally around the green area, there would be
                                      some buttons or similar.
                                      I have this strange feeling it might be related to unity.
                                      Would it be possible to try to run the exe on other linux ?

                                      1 Reply Last reply
                                      0
                                      • V Offline
                                        V Offline
                                        vaibs
                                        wrote on 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..

                                        mrjjM 1 Reply Last reply
                                        0
                                        • V vaibs

                                          @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..

                                          mrjjM Offline
                                          mrjjM Offline
                                          mrjj
                                          Lifetime Qt Champion
                                          wrote on 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

                                          • Login

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