Announcement

Collapse
No announcement yet.

Qt version is not properly installed

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Qt version is not properly installed

    Qt Creator says that Qt 5.4.2 is not properly installed. What can I do about it?
    community is what will save us

    #2
    I'm not a developer, so I don't use this, but it installed and opened fine for me. Where exactly do you get this error, and if possible, what is the exact error if it isn't any more than "is not properly installed"?

    Comment


      #3
      Originally posted by claydoh View Post
      I'm not a developer, so I don't use this, but it installed and opened fine for me. Where exactly do you get this error, and if possible, what is the exact error if it isn't any more than "is not properly installed"?
      Not a developer? What do you do for the KMyMoney PPA? Just curious.
      "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
      – John F. Kennedy, February 26, 1962.

      Comment


        #4
        Originally posted by GreyGeek View Post
        Not a developer? What do you do for the KMyMoney PPA? Just curious.
        I package the source code, which mainly involves setting up dependencies and adjusting some build options and defining what goes into which package being created, and shipping it up to the ppa server to be built. It can involve a lot more, but for KMM it is mostly adjusting the deps here and there to accommodate the different Ubuntu versions I package for. Once it is set up, it is fairly easy to do. It does not require any patching, or any pre- and post- installation scripting. I don't even bother setting up a build environment anymore (using pbuilder), since it is only one package.

        Admittedly it took me a bit to learn the steps, mostly on my own but what I do to package one program once every few months to a year or so is nothing compared to what needs to be done for an entire desktop.

        Comment


          #5
          please see the attached file. problems started when i tried to run the Shotcut video editor https://github.com/mltframework/shot...151102.tar.bz2. it includes Qt but for some reason it refused to start and complained that it needs Qt 5.5 and not 5.4.
          Attached Files
          community is what will save us

          Comment


            #6
            From http://www.shotcut.org/bin/view/Shotcut/Download:
            Linux users: no install required, simply extract the archive and run it. You can drag the Shotcut folder to copy and move it wherever you want. If double-clicking the icon in your file manager does not launch Shotcut, open Shotcut.app, and try double-clicking the shotcut shell script. Do not try to run bin/shotcut directly. You may need to install the following dependencies from their distribution (the exact names may vary): SDL, libexif, and JACK plus whatever LADSPA plugins you want. Here is a page that lists some required packages for specific distributions.
            You don't use qt creator to run this, you use qt creator if you are playing with the actual source code. The download you link to is self contained, with pre-built binaries with static system libraries included, which are qt 5.5, whereas we have 5.4 in *buntu 15.10.

            I simply extracted the files, and double clicked the Shotcut.desktop file, and it opens just fine.

            Comment


              #7
              yes, i know that, but it doesn't open in my Kubuntu. i thought i could install it from the source and saw that Qt Creator detected the problem.
              community is what will save us

              Comment


                #8
                You linked to the pre-built binary, and not the source code, so that is what I looked at.


                So yes, you need qt5.5, which we don't have. You can manually download and install it; You may have to point qt creator to this if it doesn't detect it automatically.

                Also, if you are the same person having problems over on shotcut's Google plus community, switching to a different qt version will do absolutely nothing for that.

                I'd suggest grabbing a new copy of the file you linked to above, extract it again, perhaps to a different folder, and try double clicking the .desktop file again. Perhaps a corrupted download?


                Sent from my LG G4
                Last edited by claydoh; Nov 06, 2015, 12:28 PM.

                Comment


                  #9
                  Originally posted by claydoh View Post
                  Admittedly it took me a bit to learn the steps, mostly on my own but what I do to package one program once every few months to a year or so is nothing compared to what needs to be done for an entire desktop.
                  Those are significant steps, claydoh! If you can go that far you have the ability to go all the way! It's a rare developer who can do "what needs to be done for an entire desktop". That's why single creator based distros die so quickly and often, or the dev process is really slow. The more the number of developers to divide the work the faster and better it goes. However, assuming you haven't taking programming classes, I'm impressed with what you do.
                  "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                  – John F. Kennedy, February 26, 1962.

                  Comment


                    #10
                    that's it! i downloaded it again and it starts now. the mystery has been solved, but Qt Creator still complains about Qt, and i need it to work because i was going to make a Qt application.
                    community is what will save us

                    Comment


                      #11
                      Since you don't give enough information on exactly what you mean, I can only guess that you may need to install whichever qt version you may be missing or need to use, and possibly any -dev packages Kubuntu has 5.4.2, as well as some small bits of qt 4.8 for compatibility with software that still needs support for it, so I will also guess that Qt Creator is seeing these bits, but not the rest of Qt4, and hence the errors. You probably need to go to the Qt website for more information, unless we have a Qt creator guru available here.

                      Comment


                        #12
                        While I'm no guru and never was...

                        How did you install qtcreator? if you didn't use the built in repos you should. After installing fromt repo it should just work.

                        If not
                        You need to install the build-essential package to build anything. This package will get you GCC and other things needed to build. Then you also the source packages for qt , you can do this a two ways. You can install the -dev packages for qt4 and/or qt5. You can download the installer from the qt-project page for any given verison.it will fetch from online and can even install qtcreator from them.

                        In qtcreator you can use multi versions of qt and have multi build targets. Add the "qtversion" for any version of qt installed its easy you just point it to that versions qmake . After you add the qtversion you can then make a kit. A kit combines the qtversion with a compiler and options. when you open or create a new project you will be prompted for how to set up the project for build you can choose from your kits.

                        I for example use several kits to build for desktop with both qt4 and qt5 as well as deploy to android based device over the usb using qt4 or qt5 . i like to install the newest qt versions using the installer from qt-project as well as have the standard system libaries to test against.
                        Last edited by sithlord48; Nov 06, 2015, 05:25 PM.
                        Mark Your Solved Issues [SOLVED]
                        (top of thread: thread tools)

                        Comment


                          #13
                          ~Please Delete~
                          Last edited by sithlord48; Nov 06, 2015, 05:24 PM. Reason: double post
                          Mark Your Solved Issues [SOLVED]
                          (top of thread: thread tools)

                          Comment


                            #14
                            maybe....
                            Code:
                            sudo apt-get install qt5-default
                            FKA: tanderson

                            Comment


                              #15
                              Last time I looked at running a Qt version different from the one Kubuntu was using, there were environment variables that Qt used to keep things separate, You might have to muck around with them.
                              Regards, John Little

                              Comment

                              Working...
                              X