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. package creation for qt creator

package creation for qt creator

Scheduled Pinned Locked Moved Unsolved General and Desktop
9 Posts 2 Posters 1.8k 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
    Veepee
    wrote on 26 Mar 2018, 06:01 last edited by
    #1

    Hi

    I am trying to create a deb package for qt creator with couple of functionalities added

    I added my changes and built the qt creator source and tried to create the deb package with checkinstall.

    The package creation is successful and i could install it again in my PC without any issues. But when I install and run it in some else machine, I get the below errors and qt creator is not launched.

    ##:~/vmshare/debian$ sudo qtcreator
    qtcreator: /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5: no version information available (required by qtcreator)
    qtcreator: /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5: no version information available (required by qtcreator)
    qtcreator: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version CXXABI_1.3.9' not found (required by qtcreator) qtcreator: /usr/lib/x86_64-linux-gnu/libQt5Network.so.5: no version information available (required by qtcreator) qtcreator: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: no version information available (required by qtcreator) qtcreator: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: no version information available (required by qtcreator) qtcreator: /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5: no version information available (required by /bin/../lib/qtcreator/libExtensionSystem.so.4) qtcreator: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version CXXABI_1.3.9' not found (required by /bin/../lib/qtcreator/libExtensionSystem.so.4)
    qtcreator: /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5: no version information available (required by /bin/../lib/qtcreator/libExtensionSystem.so.4)
    qtcreator: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: no version information available (required by /bin/../lib/qtcreator/libExtensionSystem.so.4)
    qtcreator: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: no version information available (required by /bin/../lib/qtcreator/libExtensionSystem.so.4)
    qtcreator: /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5: no version information available (required by /bin/../lib/qtcreator/libUtils.so.4)
    qtcreator: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /bin/../lib/qtcreator/libUtils.so.4)
    qtcreator: /usr/lib/x86_64-linux-gnu/libQt5Network.so.5: no version information available (required by /bin/../lib/qtcreator/libUtils.so.4)
    qtcreator: /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5: no version information available (required by /bin/../lib/qtcreator/libUtils.so.4)
    qtcreator: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: no version information available (required by /bin/../lib/qtcreator/libUtils.so.4)
    qtcreator: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: no version information available (required by /bin/../lib/qtcreator/libUtils.so.4)
    qtcreator: /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5: no version information available (required by /bin/../lib/qtcreator/libUtils.so.4)

    Any help would be greatly appreciated.

    Thanks !!

    J 1 Reply Last reply 26 Mar 2018, 06:04
    0
    • V Veepee
      26 Mar 2018, 06:01

      Hi

      I am trying to create a deb package for qt creator with couple of functionalities added

      I added my changes and built the qt creator source and tried to create the deb package with checkinstall.

      The package creation is successful and i could install it again in my PC without any issues. But when I install and run it in some else machine, I get the below errors and qt creator is not launched.

      ##:~/vmshare/debian$ sudo qtcreator
      qtcreator: /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5: no version information available (required by qtcreator)
      qtcreator: /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5: no version information available (required by qtcreator)
      qtcreator: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version CXXABI_1.3.9' not found (required by qtcreator) qtcreator: /usr/lib/x86_64-linux-gnu/libQt5Network.so.5: no version information available (required by qtcreator) qtcreator: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: no version information available (required by qtcreator) qtcreator: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: no version information available (required by qtcreator) qtcreator: /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5: no version information available (required by /bin/../lib/qtcreator/libExtensionSystem.so.4) qtcreator: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version CXXABI_1.3.9' not found (required by /bin/../lib/qtcreator/libExtensionSystem.so.4)
      qtcreator: /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5: no version information available (required by /bin/../lib/qtcreator/libExtensionSystem.so.4)
      qtcreator: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: no version information available (required by /bin/../lib/qtcreator/libExtensionSystem.so.4)
      qtcreator: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: no version information available (required by /bin/../lib/qtcreator/libExtensionSystem.so.4)
      qtcreator: /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5: no version information available (required by /bin/../lib/qtcreator/libUtils.so.4)
      qtcreator: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /bin/../lib/qtcreator/libUtils.so.4)
      qtcreator: /usr/lib/x86_64-linux-gnu/libQt5Network.so.5: no version information available (required by /bin/../lib/qtcreator/libUtils.so.4)
      qtcreator: /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5: no version information available (required by /bin/../lib/qtcreator/libUtils.so.4)
      qtcreator: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: no version information available (required by /bin/../lib/qtcreator/libUtils.so.4)
      qtcreator: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: no version information available (required by /bin/../lib/qtcreator/libUtils.so.4)
      qtcreator: /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5: no version information available (required by /bin/../lib/qtcreator/libUtils.so.4)

      Any help would be greatly appreciated.

      Thanks !!

      J Online
      J Online
      jsulm
      Lifetime Qt Champion
      wrote on 26 Mar 2018, 06:04 last edited by
      #2

      @Veepee What exact Linux distribution is running on your machine and the other one?
      It looks like they are quite different. You would need to either build QtCreator for the other distribution as well or package ALL libs needed for your QtCreator (even libstdc++).

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

      1 Reply Last reply
      0
      • V Offline
        V Offline
        Veepee
        wrote on 26 Mar 2018, 06:11 last edited by
        #3

        The distribution is the same in both machines. Its ubuntu

        Distributor ID: Ubuntu
        Description: Ubuntu 16.04.4 LTS
        Release: 16.04

        J 1 Reply Last reply 26 Mar 2018, 06:43
        0
        • V Veepee
          26 Mar 2018, 06:11

          The distribution is the same in both machines. Its ubuntu

          Distributor ID: Ubuntu
          Description: Ubuntu 16.04.4 LTS
          Release: 16.04

          J Online
          J Online
          jsulm
          Lifetime Qt Champion
          wrote on 26 Mar 2018, 06:43 last edited by
          #4

          @Veepee Did you use Qt distributed with Ubuntu to build QtCreator?

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

          1 Reply Last reply
          0
          • V Offline
            V Offline
            Veepee
            wrote on 26 Mar 2018, 07:51 last edited by
            #5

            I have a default Qt 5.2 version installed with Ubuntu. After that I have 5.6 installed manually and set qmake path to 5.6 version.

            Now For qt creator build, no specific version of Qt was mapped. I assume Qt 5.6 was taken. Any ways to test which version of qt creator was used for this build ?

            J 1 Reply Last reply 26 Mar 2018, 08:40
            0
            • V Veepee
              26 Mar 2018, 07:51

              I have a default Qt 5.2 version installed with Ubuntu. After that I have 5.6 installed manually and set qmake path to 5.6 version.

              Now For qt creator build, no specific version of Qt was mapped. I assume Qt 5.6 was taken. Any ways to test which version of qt creator was used for this build ?

              J Online
              J Online
              jsulm
              Lifetime Qt Champion
              wrote on 26 Mar 2018, 08:40 last edited by
              #6

              @Veepee If you used Qt 5.6 to build QtCreator then you have to deploy needed Qt libraries together with QtCreator (in DEB package). Or simply use Qt delivered by Ubuntu.

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

              1 Reply Last reply
              0
              • V Offline
                V Offline
                Veepee
                wrote on 27 Mar 2018, 05:47 last edited by
                #7

                Yes, the issue was it is looking for Qt 5.6.3 version to be installed. If any other version is installed it conflicts and deb package installation fails.

                I would like to add QT 5.6.3 as a dependency for my deb package. I tried adding qt5-default but this just checks for Qt 5 and not 5.6.3.

                Any way to map Qt 5.6.3 version in depends field to my deb package ?

                J 1 Reply Last reply 27 Mar 2018, 08:00
                0
                • V Veepee
                  27 Mar 2018, 05:47

                  Yes, the issue was it is looking for Qt 5.6.3 version to be installed. If any other version is installed it conflicts and deb package installation fails.

                  I would like to add QT 5.6.3 as a dependency for my deb package. I tried adding qt5-default but this just checks for Qt 5 and not 5.6.3.

                  Any way to map Qt 5.6.3 version in depends field to my deb package ?

                  J Online
                  J Online
                  jsulm
                  Lifetime Qt Champion
                  wrote on 27 Mar 2018, 08:00 last edited by
                  #8

                  @Veepee But is there Qt 5.6 in Ubuntu 16.04.4 LTS? If not than you can't just add it as dependency - from where would apt get Qt 5.6?
                  As I said you should add Qt 5.6 libs to your DEB package.

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

                  1 Reply Last reply
                  1
                  • V Offline
                    V Offline
                    Veepee
                    wrote on 27 Mar 2018, 12:35 last edited by
                    #9

                    Ok, will try adding the libs to my deb package

                    1 Reply Last reply
                    0

                    1/9

                    26 Mar 2018, 06:01

                    • Login

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