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. Additional transparent Window when using QFileDialog::getOpenFileName
Forum Updated to NodeBB v4.3 + New Features

Additional transparent Window when using QFileDialog::getOpenFileName

Scheduled Pinned Locked Moved General and Desktop
17 Posts 3 Posters 3.9k Views 1 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.
  • D Offline
    D Offline
    dracoborg
    wrote on last edited by
    #1

    Hi Guys,
    I have an issue which I can't solve by myself. It occurs when I try to use QFileDialog::getOpenFileName. Then I've get additional window in left corner fully transparent (Until you move it). There is an "Screenshoot":http://pl.tinypic.com/r/wl2lud/8 . Funny thing is that this very same windows also appears when I use "Open File or Project" option from menu file in QTCreator itself. It's very annoying. I've tried reinstall qt creator and recompile Libs as well - and nothing helps.
    Any ideas?
    Thanks

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

      Hi and welcome to devnet,

      What version of Qt are you using on what version of Ubuntu ?

      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
      0
      • D Offline
        D Offline
        dracoborg
        wrote on last edited by
        #3

        Ubuntu 12.04.
        I have Compiled QT 5 and QT 4 libs as well. This project however use QT version 4.
        Qt Creator 2.8.1

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

          Can you try again but with Ubuntu's provided Qt 4 ?

          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
          0
          • D Offline
            D Offline
            dracoborg
            wrote on last edited by
            #5

            I can't reinstall whole system.

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

              I didn't ask for that. It's just a matter of calling apt-get install qt4-dev or something like that.

              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
              0
              • D Offline
                D Offline
                dracoborg
                wrote on last edited by
                #7

                I already tried that;)

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

                  So both Ubuntu's own Qt and the one you compiled yourself gives you this strange window ? Qt 5 also ?

                  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
                  0
                  • D Offline
                    D Offline
                    dracoborg
                    wrote on last edited by
                    #9

                    Yep I've install QT Creator with QT 4, and then compile QT5 Libs. I've notice this strange windows recently, so I've recompile QT 4 and QT 5 Libs e.g. i've followed this steps http://qt-project.org/wiki/Building_Qt_5_from_Git but it won't work.

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

                      If you have built Qt 5.2 or greater, it won't work with Qt Creator 2.8.1 you need at least Qt Create 3

                      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
                      0
                      • D Offline
                        D Offline
                        dracoborg
                        wrote on last edited by
                        #11

                        Qt Creator 2.8.1
                        Based on Qt 5.0.2 (GCC 4.6.3, 64 bit)

                        Built on Sep 16 2013 at 12:03:05

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

                          With 2.8.1 you can't run code from 5.2 or greater. Since you have built from Git you should have something like 5.3

                          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
                          0
                          • D Offline
                            D Offline
                            dracoborg
                            wrote on last edited by
                            #13

                            So, since I can't install QT Creator 3 on linux, all I must to do is completely remove all my QT file (Creator and Libs), and install it from scratch??

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

                              No need to go that extreme, you can also just build Qt Creator by hand, it's able to handle several Qt versions at the same time

                              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
                              0
                              • D Offline
                                D Offline
                                dracoborg
                                wrote on last edited by
                                #15

                                But now, with this line (greaterThan(QT_MAJOR_VERSION, 4): QT += widgets) in my .pro file, shouldn't that solve my problem?

                                1 Reply Last reply
                                0
                                • JKSHJ Offline
                                  JKSHJ Offline
                                  JKSH
                                  Moderators
                                  wrote on last edited by
                                  #16

                                  Hi,

                                  Are you in a virtual machine? VirtualBox is known to cause graphics issues with Qt and OpenGL. (I'm not sure if this is related to your issue though, since you are using widgets)

                                  [quote]But now, with this line (greaterThan(QT_MAJOR_VERSION, 4): QT += widgets) in my .pro file, shouldn’t that solve my problem?[/quote]I don't think that's related to anything discussed in this thread so far.

                                  Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                                  1 Reply Last reply
                                  0
                                  • D Offline
                                    D Offline
                                    dracoborg
                                    wrote on last edited by
                                    #17

                                    No, I'm using ubuntu every day, so I don't use virtual machine.

                                    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