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. Cannot mix incompatible Qt library (version 0x50a01) with this library (version 0x50b01)

Cannot mix incompatible Qt library (version 0x50a01) with this library (version 0x50b01)

Scheduled Pinned Locked Moved Unsolved General and Desktop
10 Posts 3 Posters 8.6k 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.
  • V Offline
    V Offline
    VARUNGUPTA1992
    wrote on last edited by
    #1

    I have just installed QtCreator on my system. While running first project its giving error Cannot mix incompatible Qt library (version 0x50a01) with this library (version 0x50b01).
    How to resolve this?
    Platform: Ubuntu 16.04 LTS
    Version: QT 5.11.1

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

      Hi and welcome to devnet,

      What version of Qt Creator ?
      How did you install it ?
      What modules does your application use ?
      Do you mean when running through Qt Creator or from the command line ?

      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
        VARUNGUPTA1992
        wrote on last edited by
        #3

        Hi,

        Version
        QT Creator: 4.6.2

        How did I installed it?
        I downloaded installer from official website!

        Modules
        I am just learning it. Was trying this example: https://wiki.qt.io/Qt_for_Beginners

        Running through?
        QT Creator

        Thanks in adv! :)

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

          And just to be sure, are you using the Kit matching Qt 5.11 to build your application ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          V 1 Reply Last reply
          1
          • SGaistS SGaist

            And just to be sure, are you using the Kit matching Qt 5.11 to build your application ?

            V Offline
            V Offline
            VARUNGUPTA1992
            wrote on last edited by
            #5

            @SGaist said in Cannot mix incompatible Qt library (version 0x50a01) with this library (version 0x50b01):

            u using the Kit matching Qt 5

            Yes, its using 5.11 in KIT
            0_1531904662402_44a14a71-81b6-4f4f-b34a-eab6146eb0bf-image.png

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

              Are you using a dependency built with another version of Qt ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              V 1 Reply Last reply
              1
              • SGaistS SGaist

                Are you using a dependency built with another version of Qt ?

                V Offline
                V Offline
                VARUNGUPTA1992
                wrote on last edited by
                #7

                @SGaist nope! as i said I am just learning now.. so all Qt libraries I am using right now is that came with package.

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

                  Do you have LD_LIBRARY_PATH defined in your environment variables ?

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  V 1 Reply Last reply
                  2
                  • SGaistS SGaist

                    Do you have LD_LIBRARY_PATH defined in your environment variables ?

                    V Offline
                    V Offline
                    VARUNGUPTA1992
                    wrote on last edited by
                    #9

                    @SGaist Its not set. But this time I abandoned that app and created a new project. Its working. I don't know what went wrong there. :(

                    Well thanks!

                    aha_1980A 1 Reply Last reply
                    1
                    • V VARUNGUPTA1992

                      @SGaist Its not set. But this time I abandoned that app and created a new project. Its working. I don't know what went wrong there. :(

                      Well thanks!

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

                      @VARUNGUPTA1992

                      Glad you got it working. So please close this topic as SOLVED. Thanks

                      Qt has to stay free or it will die.

                      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