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. QT Creator not launching in Ubuntu 18.04 Bionic
Forum Updated to NodeBB v4.3 + New Features

QT Creator not launching in Ubuntu 18.04 Bionic

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
16 Posts 3 Posters 3.2k 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.
  • LostDeveloperL Offline
    LostDeveloperL Offline
    LostDeveloper
    wrote on last edited by
    #1

    Re: Qt Creator not launching

    My environment initially has QT4 and QT creator seemed to work fine back then. I have installed QT5 and after that QT creator is not launching anymore.

    I tried to run it in terminal but I got this "Cannot mix incompatible Qt library (version 0x50905) with this library (version 0x50a01)". I did search for its cause and posssible fix but nothing seems to work for me.

    Your help is greatly appreciated. Thanks!

    aha_1980A 1 Reply Last reply
    0
    • LostDeveloperL LostDeveloper

      Re: Qt Creator not launching

      My environment initially has QT4 and QT creator seemed to work fine back then. I have installed QT5 and after that QT creator is not launching anymore.

      I tried to run it in terminal but I got this "Cannot mix incompatible Qt library (version 0x50905) with this library (version 0x50a01)". I did search for its cause and posssible fix but nothing seems to work for me.

      Your help is greatly appreciated. Thanks!

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

      Hi @LostDeveloper,

      It seems you have multiple versions of Qt libraries on your system and Creator picks up different versions.

      So, please tell us: how did you install the Qt versions (Qt4 and 5) and QtCreator?

      Regards

      Qt has to stay free or it will die.

      LostDeveloperL 1 Reply Last reply
      3
      • aha_1980A aha_1980

        Hi @LostDeveloper,

        It seems you have multiple versions of Qt libraries on your system and Creator picks up different versions.

        So, please tell us: how did you install the Qt versions (Qt4 and 5) and QtCreator?

        Regards

        LostDeveloperL Offline
        LostDeveloperL Offline
        LostDeveloper
        wrote on last edited by
        #3

        @aha_1980 Thanks for the response.
        I installed all of them through terminal apt install ubuntu repository.
        Version:
        Qt5.9.5
        Qt Creator 4.5.2

        aha_1980A 1 Reply Last reply
        0
        • LostDeveloperL LostDeveloper

          @aha_1980 Thanks for the response.
          I installed all of them through terminal apt install ubuntu repository.
          Version:
          Qt5.9.5
          Qt Creator 4.5.2

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

          Hi @LostDeveloper,

          This error

          0x50a01

          suggests you have some Qt libraries 5.10.1 on your system. please make sure these are not in the library search path.

          Regards

          Qt has to stay free or it will die.

          LostDeveloperL 1 Reply Last reply
          0
          • aha_1980A aha_1980

            Hi @LostDeveloper,

            This error

            0x50a01

            suggests you have some Qt libraries 5.10.1 on your system. please make sure these are not in the library search path.

            Regards

            LostDeveloperL Offline
            LostDeveloperL Offline
            LostDeveloper
            wrote on last edited by
            #5

            Hi @aha_1980

            I haven't found 5.10.1 libraries in my system but I have 5.9 and 5.9.5. Does it matter?

            aha_1980A 1 Reply Last reply
            0
            • LostDeveloperL LostDeveloper

              Hi @aha_1980

              I haven't found 5.10.1 libraries in my system but I have 5.9 and 5.9.5. Does it matter?

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

              Hi @LostDeveloper

              The error message:

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

              Clearly states, that some library or plugin depends on or is part of Qt 5.10.1.

              0x50905 = 5.9.5; 0x50a01 = 5.10.1

              Sorry, that's all I can tell for now.

              Qt has to stay free or it will die.

              1 Reply Last reply
              2
              • LostDeveloperL Offline
                LostDeveloperL Offline
                LostDeveloper
                wrote on last edited by
                #7

                Hi @aha_1980

                I guess I found the reason now.
                I have a QT5 5.9.5 version in my system but my QT creator is based on QT 5.10.1.

                aha_1980A 1 Reply Last reply
                0
                • LostDeveloperL LostDeveloper

                  Hi @aha_1980

                  I guess I found the reason now.
                  I have a QT5 5.9.5 version in my system but my QT creator is based on QT 5.10.1.

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

                  @LostDeveloper but then you surely didn't install Creator with apt-get (at least not from official sources).

                  Where is QtCreator installed? You can try to launch it with the qtcreator.sh shell script.

                  Qt has to stay free or it will die.

                  1 Reply Last reply
                  0
                  • LostDeveloperL Offline
                    LostDeveloperL Offline
                    LostDeveloper
                    wrote on last edited by
                    #9

                    @aha_1980 I did install Qt creator with apt-get as what I have mentioned before.

                    aha_1980A 1 Reply Last reply
                    0
                    • LostDeveloperL LostDeveloper

                      @aha_1980 I did install Qt creator with apt-get as what I have mentioned before.

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

                      @LostDeveloper in that case, it's an Ubuntu problem and we cannot help you :(

                      Qt has to stay free or it will die.

                      1 Reply Last reply
                      0
                      • LostDeveloperL Offline
                        LostDeveloperL Offline
                        LostDeveloper
                        wrote on last edited by
                        #11

                        @aha_1980 additional information.. I installed the QT in chroot environment. could it be QT path issues?

                        jsulmJ 1 Reply Last reply
                        0
                        • LostDeveloperL LostDeveloper

                          @aha_1980 additional information.. I installed the QT in chroot environment. could it be QT path issues?

                          jsulmJ Online
                          jsulmJ Online
                          jsulm
                          Lifetime Qt Champion
                          wrote on last edited by
                          #12

                          @LostDeveloper said in QT Creator not launching in Ubuntu 18.04 Bionic:

                          I installed the QT in chroot environment

                          Qt or QtCreator?

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

                          LostDeveloperL 1 Reply Last reply
                          0
                          • jsulmJ jsulm

                            @LostDeveloper said in QT Creator not launching in Ubuntu 18.04 Bionic:

                            I installed the QT in chroot environment

                            Qt or QtCreator?

                            LostDeveloperL Offline
                            LostDeveloperL Offline
                            LostDeveloper
                            wrote on last edited by
                            #13

                            @jsulm Qt5

                            jsulmJ 1 Reply Last reply
                            0
                            • LostDeveloperL LostDeveloper

                              @jsulm Qt5

                              jsulmJ Online
                              jsulmJ Online
                              jsulm
                              Lifetime Qt Champion
                              wrote on last edited by
                              #14

                              @LostDeveloper Qt in chroot should not bother QtCreator. QtCreator is installed together with needed Qt libraries. Do you have any other Qt libraries in PATH/LD_LIBRARY_PATH?

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

                              1 Reply Last reply
                              1
                              • LostDeveloperL Offline
                                LostDeveloperL Offline
                                LostDeveloper
                                wrote on last edited by
                                #15

                                I checked the chroot and found out different version of QT installed.
                                Chroot environment:
                                QMake version 3.0
                                Using Qt version 5.2.1

                                Top level:
                                QMake version 3.1
                                Using Qt version 5.9.5

                                qtcreator is only installed in top-level.

                                jsulmJ 1 Reply Last reply
                                0
                                • LostDeveloperL LostDeveloper

                                  I checked the chroot and found out different version of QT installed.
                                  Chroot environment:
                                  QMake version 3.0
                                  Using Qt version 5.2.1

                                  Top level:
                                  QMake version 3.1
                                  Using Qt version 5.9.5

                                  qtcreator is only installed in top-level.

                                  jsulmJ Online
                                  jsulmJ Online
                                  jsulm
                                  Lifetime Qt Champion
                                  wrote on last edited by
                                  #16

                                  @LostDeveloper "Cannot mix incompatible Qt library (version 0x50905) with this library (version 0x50a01)".
                                  You have Qt 5.10.1 somewhere - this is the one causing the problem not Qt 5.2.1

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

                                  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