Uploaded image for project: 'Qt 3D Studio'
  1. Qt 3D Studio
  2. QT3DS-2542

Qt3DS Linux version uses double Qt library locations

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt 3D Studio 2.1
    • Editor Application
    • None
    • Linux/X11

    Description

      In order to start Linux Qt3DS application successfully from installer it requires Qt 5 libraries from two different locations under installation ([install_dir]/Tools/Qt3DStudio/lib and [install_dir]/Tools/Qt3DStudio/bin/lib). Side effect of one missing is either unable to start application or alternatively application starts but with white boxes on UI (unable to load qml libraries).

      At the moment [install_dir]/Tools/Qt3DStudio/bin/Qt3DStudio -application uses majority of Qt 5 libraries from [install_dir]/Tools/Qt3DStudio/lib -folder. At the same time [install_dir]/Tools/Qt3DStudio/bin/lib -folder must have at least libQt5QuickControls2.so & libQt5QuickTemplates2.so libraries. Those two expect other Qt 5 libraries to be found (if / when needed) from same folder. Issue has been now solved on installer packaging by copying all Qt 5 libraries to both of those locations (enables further development).

      I'm not 100% positive that libQt5QuickControls2.so & libQt5QuickTemplates2.so will require other Qt 5 libraries but assumption is that those will be eventually needed (somewhere beyond application start and running example application).

      Recommendation:
      Modify Qt3DS to use libraries only from one lib -folder (preferably [install_dir]/Tools/Qt3DStudio/lib) in order to avoid need of double Qt 5 libraries on Linux installer. Alternatively make a clear statement that libQt5QuickControls2.so & libQt5QuickTemplates2.so are only needed libraries under [install_dir]/Tools/Qt3DStudio/bin/lib -folder and it is safe to remove double Qt5 libraries from [install_dir]/Tools/Qt3DStudio/bin/lib (I'll make packaging configuration changes then).

      There are also other unorthodox locations of few libraries (namely xcbglintegrations, platforms and imageformats -folders) required by Linux Qt3DS application (these are also tweaked to 'correct locations' on packaging configurations).

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              kileppal Kimmo Leppälä
              aksalova Akseli Salovaara
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes