Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Some issues with deployment on Linux with 5.8

Some issues with deployment on Linux with 5.8

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
11 Posts 3 Posters 2.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    adutzu89
    wrote on last edited by
    #1

    Since I switched to 5.8 from 5.6.2 I am having some issues with deployment.

    • first issue is that dialogs or any extra windows opened besides main window are not rendered in virtualbox
    • 2nd issuse is that the application is searching for Private/EditMenu_base.qml it in the path where the build was made and not in where the application is deployed and according to my qt.conf file, yet every other files are detected and load correctly.

    Any ideeas on how I might solve these issues or how I can try to find a way?

    1 Reply Last reply
    0
    • P Offline
      P Offline
      Pyroxar
      wrote on last edited by
      #2

      In response to first question - I think that VB is stupid idea for programming app.

      A 1 Reply Last reply
      -1
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        @adutzu89 Can you explain how you are doing the deployment ?
        As for your first question, is it working properly with in virtualbox with Qt 5.6.2 ?

        @Pyroxar that's not an really helpful answer, you should back such affirmations with proofs.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        A 1 Reply Last reply
        0
        • P Pyroxar

          In response to first question - I think that VB is stupid idea for programming app.

          A Offline
          A Offline
          adutzu89
          wrote on last edited by
          #4

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

          1 Reply Last reply
          0
          • SGaistS SGaist

            Hi,

            @adutzu89 Can you explain how you are doing the deployment ?
            As for your first question, is it working properly with in virtualbox with Qt 5.6.2 ?

            @Pyroxar that's not an really helpful answer, you should back such affirmations with proofs.

            A Offline
            A Offline
            adutzu89
            wrote on last edited by
            #5

            @SGaist

            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.

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              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.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              A 1 Reply Last reply
              0
              • SGaistS SGaist

                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.

                A Offline
                A Offline
                adutzu89
                wrote on last edited by
                #7

                @SGaist

                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?

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  Did you check with e.g. glxgears that you have 3D acceleration working ?

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  A 2 Replies Last reply
                  0
                  • SGaistS SGaist

                    Did you check with e.g. glxgears that you have 3D acceleration working ?

                    A Offline
                    A Offline
                    adutzu89
                    wrote on last edited by
                    #9

                    @SGaist
                    Will check when I get home, another thing which I noticed, If I move the dialog on top of the main ApplicationWindow I can see the content of the dialog.

                    1 Reply Last reply
                    0
                    • SGaistS SGaist

                      Did you check with e.g. glxgears that you have 3D acceleration working ?

                      A Offline
                      A Offline
                      adutzu89
                      wrote on last edited by
                      #10

                      @SGaist Sorry for the late response, tried it and works.

                      1 Reply Last reply
                      0
                      • SGaistS Offline
                        SGaistS Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on last edited by
                        #11

                        I'd recommend taking a look at the linuxdeployqt project. It might help with your deployment issue.

                        Interested in AI ? www.idiap.ch
                        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                        1 Reply Last reply
                        1

                        • Login

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Users
                        • Groups
                        • Search
                        • Get Qt Extensions
                        • Unsolved