Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. unknown linked library for file dialogs
Forum Updated to NodeBB v4.3 + New Features

unknown linked library for file dialogs

Scheduled Pinned Locked Moved Solved General and Desktop
10 Posts 5 Posters 2.1k Views 4 Watching
  • 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.
  • M Offline
    M Offline
    mortbopet
    wrote on last edited by
    #1

    Hello,

    I am in the process of deploying my application to linux, and in this, i seem to be missing to include a library for displaying file dialogs - and i've yet to figure out which one it actually is!

    When a file dialog is requested in the application, a see-through box appears - and i strongly suspect that i'm missing a library for the file dialogs.
    I've tried to search the web tirelessly, but i've yet to figure out which one it actually is.

    Any pointers would be creatly appreciated :)

    1 Reply Last reply
    0
    • L Offline
      L Offline
      Leonardo
      wrote on last edited by
      #2

      Have you tried using ldd?

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

        Hi,

        The linuxdeployqt project might be of interest.

        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
        • L Leonardo

          Have you tried using ldd?

          M Offline
          M Offline
          mortbopet
          wrote on last edited by
          #4

          @Leonardo @SGaist
          i've run linuxdeployqt on the project, which successfully moved the libraries listed in ldd (among others), into the project folder. It did not copy all dependencies though (for instance, it was missing some svg libraries) - so i suspect that this would be the case aswell for some form of input dialog library.

          mrjjM 1 Reply Last reply
          0
          • M mortbopet

            @Leonardo @SGaist
            i've run linuxdeployqt on the project, which successfully moved the libraries listed in ldd (among others), into the project folder. It did not copy all dependencies though (for instance, it was missing some svg libraries) - so i suspect that this would be the case aswell for some form of input dialog library.

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by mrjj
            #5

            @mortbopet
            Hi
            I think the File Dialogs are part of Qt5Widgets.so

            alt text

            Did you try same deployment folder in an other linux ?

            1 Reply Last reply
            1
            • M Offline
              M Offline
              mortbopet
              wrote on last edited by
              #6

              I've used linuxdeployqt to do the initial deployment, aswell as copy various svg libraries manually -and this has indeed solved the svg issues that i had. But i've yet to find the library responsible for the input file dialog.

              In the app's lib folder:
              libicudata.so.56 libQt5Core.so.5 libQt5Svg.so.5
              libicui18n.so.56 libQt5DBus.so.5 libQt5Widgets.so.5
              libicuuc.so.56 libQt5Gui.so.5 libQt5XcbQpa.so.5

              As @mrjj mentions, the widgets library should already be included.

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

                What Linux distribution are you running ?

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

                M 1 Reply Last reply
                0
                • SGaistS SGaist

                  What Linux distribution are you running ?

                  M Offline
                  M Offline
                  mortbopet
                  wrote on last edited by
                  #8

                  @SGaist Ubuntu 16.04

                  1 Reply Last reply
                  0
                  • Pablo J. RoginaP Offline
                    Pablo J. RoginaP Offline
                    Pablo J. Rogina
                    wrote on last edited by
                    #9

                    @mortbopet in order to understand your runtime environment, even when you mentioned Ubuntu 16.04

                    1. is this a kind of embedded device?
                    2. what architecture is it? (i.e. ARM, x86)
                    3. window manager in use?
                    4. a) Have you tried deploying/running this same application in any other Linux device/machine?
                      b) Have you tried to run any other application in your device that indeed use the native file dialog?
                      4a & 4b so to rule out that the underlying OS/window manager is really providing file dialog support
                    5. Have you tried stating DontUseNativeDialog option? (to ensure that the widget-based implementation will be used instead of the native dialog)

                    Upvote the answer(s) that helped you solve the issue
                    Use "Topic Tools" button to mark your post as Solved
                    Add screenshots via postimage.org
                    Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

                    M 1 Reply Last reply
                    2
                    • Pablo J. RoginaP Pablo J. Rogina

                      @mortbopet in order to understand your runtime environment, even when you mentioned Ubuntu 16.04

                      1. is this a kind of embedded device?
                      2. what architecture is it? (i.e. ARM, x86)
                      3. window manager in use?
                      4. a) Have you tried deploying/running this same application in any other Linux device/machine?
                        b) Have you tried to run any other application in your device that indeed use the native file dialog?
                        4a & 4b so to rule out that the underlying OS/window manager is really providing file dialog support
                      5. Have you tried stating DontUseNativeDialog option? (to ensure that the widget-based implementation will be used instead of the native dialog)
                      M Offline
                      M Offline
                      mortbopet
                      wrote on last edited by
                      #10

                      @Pablo-J.-Rogina Setting the DontUseNativeDialog option did the trick!

                      Just a laptop with x86_64 architecture, window manager is Compiz. I've yet to deploy it to other distributions

                      1 Reply Last reply
                      0

                      • Login

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