Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Bug in Creator 2.2 (When 2 version of qt)
QtWS25 Last Chance

Bug in Creator 2.2 (When 2 version of qt)

Scheduled Pinned Locked Moved Qt Creator and other tools
17 Posts 4 Posters 5.9k Views
  • 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.
  • J Offline
    J Offline
    jeanrl
    wrote on last edited by
    #1

    When there on the same computer 2 vesions of Qt, for example, 4.7.1 and 4.7.2, it's failing with the message that compilers and run with not iqual version.
    Is it possible fix this?
    Thks.

    Hugs.

    1 Reply Last reply
    0
    • V Offline
      V Offline
      vinb
      wrote on last edited by
      #2

      wich OS?

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jeanrl
        wrote on last edited by
        #3

        Fedora 14 x32

        1 Reply Last reply
        0
        • V Offline
          V Offline
          vinb
          wrote on last edited by
          #4

          Your depending $ENV isnt set right,
          you can solve it by adding a little script wich changes the depending $env by starting with a version.

          Edit:
          i dont think its a bug
          Edit 2:
          Is there a reason why you want to use 2 versions?

          1 Reply Last reply
          0
          • J Offline
            J Offline
            jeanrl
            wrote on last edited by
            #5

            For me appear a bug, but if not, no problem, is better, hehe.

            My system has come with 4.7.1 installed and I installed 4.7.2 because it's newer, but no problem uninstall 4.7.1, how fix this?

            Thks.

            1 Reply Last reply
            0
            • V Offline
              V Offline
              vinb
              wrote on last edited by
              #6

              You can:

              • just remove the 4.7.1 version:
                http://www.ehow.co.uk/how_6806950_uninstall-programs-fedora.html

              • Install 1 version in a chrooted envirement.

              • add a litlle script to change your envirement when startup a version

              • change your build envirement in the tab "projects" between "debug" and "help"

              1 Reply Last reply
              0
              • T Offline
                T Offline
                tobias.hunger
                wrote on last edited by
                #7

                Creator works fine with several Qt versions installed (I have about 20!), so that should not be your issue.

                What does the tooltip you get when hovering the Qt versions in Tools->Options->Qt give you?
                Do you have compilers for the different versions set up (Check in Tools->Options->Tool Chains). The compiler's ABI needs to match up with the one in the tooltip of the Qt version.

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  Scylla
                  wrote on last edited by
                  #8

                  I have up to 3 different versions of Qt installed. It's easier to use qt.conf. Put the qt.conf in the same directory of your binary and set the desired Qt env in the qt.conf, see "here":http://doc.trolltech.com/4.7/qt-conf.html .

                  1 Reply Last reply
                  0
                  • T Offline
                    T Offline
                    tobias.hunger
                    wrote on last edited by
                    #9

                    Scylla: That is completely unnecessary, at least for qmake based projects.

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      Scylla
                      wrote on last edited by
                      #10

                      bq. Scylla: That is completely unnecessary, at least for qmake based projects.

                      It's unnecessary it you start the app from the QtCreator but necessary if you start the app without QtCreator, isn't it?

                      1 Reply Last reply
                      0
                      • T Offline
                        T Offline
                        tobias.hunger
                        wrote on last edited by
                        #11

                        Setting PATH in windows or LD_LIBRARY_PATH anywhere else should suffice.

                        Qt needs to be picked up by the linker and that does not care about qt.conf in any way. Using qt.conf might help you if the wrong plugins to Qt are picked up, but Qt usually is smart enough to find its own plugins:-)

                        1 Reply Last reply
                        0
                        • J Offline
                          J Offline
                          jeanrl
                          wrote on last edited by
                          #12

                          Ok, so How fix my problem? What's better solution?

                          Thks.

                          1 Reply Last reply
                          0
                          • V Offline
                            V Offline
                            vinb
                            wrote on last edited by
                            #13

                            Did you try one of our suggestions?

                            set envirement right

                            1 Reply Last reply
                            0
                            • T Offline
                              T Offline
                              tobias.hunger
                              wrote on last edited by
                              #14

                              jeanrl: Sorry, you do not provide enough information for me to actually help.

                              What Qt versions are those? Are the Qt versions set up properly? What is the error message? What are you actually doing?

                              1 Reply Last reply
                              0
                              • J Offline
                                J Offline
                                jeanrl
                                wrote on last edited by
                                #15

                                Ok, in first time thanks very mouch for your attentation :)

                                To make sure I uninstalled and installed again with the only difference that before when I was giving problem, I installed as root and hence the /opt directory, now installed as normal user, and consequently in the directory /home and "voula" not happened more problem.
                                I will test more, if appear more problems I report here, again thanks for all by your attention.
                                Hugs.

                                1 Reply Last reply
                                0
                                • T Offline
                                  T Offline
                                  tobias.hunger
                                  wrote on last edited by
                                  #16

                                  jeanrl: Please do not report here but open bug reports in the "bug tracker":http://bugreports.qt.nokia.com/. Developers stumble over issues reported here by chance only!

                                  1 Reply Last reply
                                  0
                                  • J Offline
                                    J Offline
                                    jeanrl
                                    wrote on last edited by
                                    #17

                                    Ok, no problems.

                                    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