Error when deploying Qt Application
-
Yeah, that happens a lot. Does your application use MySQL? Some workarounds are available https://github.com/probonopd/linuxdeployqt/issues/235 Basically you can instruct linuxdeployqt to skip this plugin (https://github.com/probonopd/linuxdeployqt/pull/253).
-
Yeah, that happens a lot. Does your application use MySQL? Some workarounds are available https://github.com/probonopd/linuxdeployqt/issues/235 Basically you can instruct linuxdeployqt to skip this plugin (https://github.com/probonopd/linuxdeployqt/pull/253).
-
Alright, then you can skip MySQL plugin safely.
-
@sierdzio so what do you think abt this error
ERROR: Please ensure that all libraries can be found by ldd. Aborting.
what am i missing?@Vineela said in Error when deploying Qt Application:
@sierdzio so what do you think abt this error
ERROR: Please ensure that all libraries can be found by ldd. Aborting.
what am i missing?Ignore it. Focus on this, which is the real error:
ERROR: ldd outputLine: "libmysqlclient_r.so.16 => not found"
And skip that plugin. According to the docs, this should work:
-exclude-libs=libqsqlmysql
But I've never tried that option myself so can't say with certainty.
Why you can skip/ ignore? The error is about a plugin. Your application does not use that plugin, so it won't load it at runtime, and that means it will not crash with "missing library" in practice.
-
@Vineela said in Error when deploying Qt Application:
@sierdzio so what do you think abt this error
ERROR: Please ensure that all libraries can be found by ldd. Aborting.
what am i missing?Ignore it. Focus on this, which is the real error:
ERROR: ldd outputLine: "libmysqlclient_r.so.16 => not found"
And skip that plugin. According to the docs, this should work:
-exclude-libs=libqsqlmysql
But I've never tried that option myself so can't say with certainty.
Why you can skip/ ignore? The error is about a plugin. Your application does not use that plugin, so it won't load it at runtime, and that means it will not crash with "missing library" in practice.
-
That does not sound to be Qt-related.
Use Dropbox maybe? Format your pendrive? I don't know what the problem is so I can't help. AppImage files are normal binary files, they should copy just like any other file.
-
That does not sound to be Qt-related.
Use Dropbox maybe? Format your pendrive? I don't know what the problem is so I can't help. AppImage files are normal binary files, they should copy just like any other file.
'/home/ubuntu16qt/Documents/build-Thinclient-Desktop_Qt_5_6_2_GCC_64bit-Release/Thinclient'
/home/ubuntu16qt/Documents/build-Thinclient-Desktop_Qt_5_6_2_GCC_64bit-Release/Thinclient: /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5: versionQt_5' not found (required by /home/ubuntu16qt/Documents/build-Thinclient-Desktop_Qt_5_6_2_GCC_64bit-Release/Thinclient) /home/ubuntu16qt/Documents/build-Thinclient-Desktop_Qt_5_6_2_GCC_64bit-Release/Thinclient: /usr/lib/x86_64-linux-gnu/libQt5Sql.so.5: version
Qt_5' not found (required by /home/ubuntu16qt/Documents/build-Thinclient-Desktop_Qt_5_6_2_GCC_64bit-Release/Thinclient)
/home/ubuntu16qt/Documents/build-Thinclient-Desktop_Qt_5_6_2_GCC_64bit-Release/Thinclient: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: versionQt_5' not found (required by /home/ubuntu16qt/Documents/build-Thinclient-Desktop_Qt_5_6_2_GCC_64bit-Release/Thinclient) /home/ubuntu16qt/Documents/build-Thinclient-Desktop_Qt_5_6_2_GCC_64bit-Release/Thinclient: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version
Qt_5.6' not found (required by /home/ubuntu16qt/Documents/build-Thinclient-Desktop_Qt_5_6_2_GCC_64bit-Release/Thinclient)
/home/ubuntu16qt/Documents/build-Thinclient-Desktop_Qt_5_6_2_GCC_64bit-Release/Thinclient: /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5: version `Qt_5' not found (required by /home/ubuntu16qt/Documents/build-Thinclient-Desktop_Qt_5_6_2_GCC_64bit-Release/Thinclient)this is my error for now
and what shud i do with this , -exclude-libs=libqsqlmysql??? -
When does this error show up? During compilation? Linking? Or when you try to run the executable?
I think the issue is that Qt version installed in your system is different from one ThinClient is linked against. If you have your AppImage binary created already - run that instead of ThinClient file itself.