Some issues with deployment on Linux with 5.8
-
-
@Pyroxar said in Some issues with deployment on Linux with 5.8:
In response to first question - I think that VB is stupid idea for programming app.
I am not looking for personal opinions.
I will keep using my stupid ideea for fast testing my applications, thank you. -
It used to work previously, so it's not on the Qt part(I'm assuming).
Before upgrading to Qt 5.8 I also reinstalled my OS and deleted old virtual machine(because I had made the disk fixed and had issue with space) and most likely something is missing.
In live usb version of the OS and other linux distributions it works, but not in virtual machine.
I tried deploying the build folder with dependencies in the following directories: lib, qml, plugins as they are named in the qt.conf file added to the resource system in :/qt/etc/qt.conf.
Here is how I define the content inside qt.conf:[Paths] Libraries = lib Plugins = plugins Qml2Imports = qml
I have also tried making an offline installer using the Qt installer framework.
-
Then you should test the OpenGL stack from your virtual machine, it happens pretty easily that by default the hardware acceleration is disabled which can have side effects on QML application since they require OpenGL ES2 at minimum.
-
Then you should test the OpenGL stack from your virtual machine, it happens pretty easily that by default the hardware acceleration is disabled which can have side effects on QML application since they require OpenGL ES2 at minimum.
The virtual machine has 3d acceleration enabled, I have installed dkms, build-essentials and then install guest aditions.
I have also installed libgles2-mesa, libgles2-mesa-dev, libgles2-mesa-dev-lts-xenial, libgles2-mesa-lts-xenial and still not working.Any other ideeas?
-
Did you check with e.g. glxgears that you have 3D acceleration working ?
-
I'd recommend taking a look at the linuxdeployqt project. It might help with your deployment issue.