You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setup LinuxDeployQT in a Docker container. Instructions on how to prepare a Docker Container to use linuxdeployqt from an Ubuntu 18.04 host system through a Ubuntu 14.04 Docker container.
This is awesome, first off, thanks for making this. I tried my best, and couldn't get it to work. My host system is Ubuntu 18.04(Linux Mint) and set the Qt Target in Qt Creator to 5.9.5, which is the default for Ubuntu 18.04. When I package the app following the instructions in linuxdeployqt and then run the "AppRun" binary inside the 14.04 Ubuntu container, I get the following messages:
root@fa188903c1f5:~# ./AppRun ./AppRun: /usr/lib/x86_64-linux-gnu/libQt5Multimedia.so.5: no version information available (required by ./AppRun) ./AppRun: /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5: no version information available (required by ./AppRun) ./AppRun: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: no version information available (required by ./AppRun) ./AppRun: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: no version information available (required by ./AppRun) ./AppRun: /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5: no version information available (required by ./AppRun) ./AppRun: relocation error: ./AppRun: symbol qt_version_tag, version Qt_5.9 not defined in file libQt5Core.so.5 with link time reference
Any idea of how to fix it?
I ran qmake -v and this is the version I have inside the container:
QMake version 3.0 Using Qt version 5.2.1 in /usr/lib/x86_64-linux-gnu
Is this because I'm just not able to deploy the under Qt something written in Qt 5.9.5 to 5.2.1? Or is there another reason for this error?
Hopefully you can get in there and change a few variables and use it for your own purposes!
Note that appimage-builder has support for testing on docker containers(you can easily test ALL linux distros with just a few command) and all of that good stuff!
In case you want to run an AppImage in a Docker container where FUSE doesn't work unless you run it with --privileged (dangerous),
try the --appimage-extract-and-run option:
This is awesome, first off, thanks for making this. I tried my best, and couldn't get it to work. My host system is Ubuntu 18.04(Linux Mint) and set the Qt Target in Qt Creator to 5.9.5, which is the default for Ubuntu 18.04. When I package the app following the instructions in linuxdeployqt and then run the "AppRun" binary inside the 14.04 Ubuntu container, I get the following messages:
root@fa188903c1f5:~# ./AppRun ./AppRun: /usr/lib/x86_64-linux-gnu/libQt5Multimedia.so.5: no version information available (required by ./AppRun) ./AppRun: /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5: no version information available (required by ./AppRun) ./AppRun: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: no version information available (required by ./AppRun) ./AppRun: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: no version information available (required by ./AppRun) ./AppRun: /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5: no version information available (required by ./AppRun) ./AppRun: relocation error: ./AppRun: symbol qt_version_tag, version Qt_5.9 not defined in file libQt5Core.so.5 with link time reference
Any idea of how to fix it?
I ran qmake -v and this is the version I have inside the container:
QMake version 3.0 Using Qt version 5.2.1 in /usr/lib/x86_64-linux-gnu
Is this because I'm just not able to deploy the under Qt something written in Qt 5.9.5 to 5.2.1? Or is there another reason for this error?
Hope I was clear enough about my issue :)