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: versionCXXABI_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 !!
-
@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++). -
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 ?
-
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 ?