package creation for qt creator



  • 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: versionCXXABI_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 !!


  • Moderators

    @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++).



  • The distribution is the same in both machines. Its ubuntu

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


  • Moderators

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



  • 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 ?


  • Moderators

    @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.



  • 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 ?


  • Moderators

    @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.



  • Ok, will try adding the libs to my deb package


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.