Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Message QWindowsNativeInterface::nativeResourceForWindow: 'handle' requested for null window or window without handle.
Qt 6.11 is out! See what's new in the release blog

Message QWindowsNativeInterface::nativeResourceForWindow: 'handle' requested for null window or window without handle.

Scheduled Pinned Locked Moved General and Desktop
46 Posts 17 Posters 72.2k Views 3 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #34

    I got this error on 5.0.1 but I have the 5.0.2 setup

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #35

      well, then test it if the warning still occurs on in the current stable release (5.0.2) -ideally before asking for support ;)

      Good luck!

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #36

        Ok! I didn't know that the 5.0.1 is unstable. Thanks!

        1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #37

          hi,

          5.0.1 is not unstable, but it is not the current stable release.

          If you have a bug, it's always worth to verify that the used Qt version is the current stable release. If not, maybe the error is already fixed in the current stable release ;)

          1 Reply Last reply
          0
          • C Offline
            C Offline
            Cyttorak
            wrote on last edited by
            #38

            I get a lot of those messages with that call:

            QFileDialog::getOpenFileNames()

            1 Reply Last reply
            0
            • ? Offline
              ? Offline
              A Former User
              wrote on last edited by
              #39

              Cyttorak: sorry, I lost my crystal ball yesterday, so I cannot help you...

              ...If you really want to get help, you should provide at least a minimal set of information:
              which OS and with Qt version you use.

              Torben

              1 Reply Last reply
              0
              • C Offline
                C Offline
                Cyttorak
                wrote on last edited by
                #40

                Excuse me TorbenD for that poor example. I will create a minimum project in order to provide a better showing of this issue. Is there any jira about this problem so I can upload the example project?

                Thank you

                1 Reply Last reply
                0
                • ? Offline
                  ? Offline
                  A Former User
                  wrote on last edited by
                  #41

                  Cyttorak,

                  no need for a project, just tell us what OS and what Qt version you use!!

                  I assume 5.0.1 since I got the warnings you describe in 5.0.1.

                  so:
                  a) what is your operating system you use?
                  b) what is your Qt version you use?

                  1 Reply Last reply
                  0
                  • C Offline
                    C Offline
                    Cyttorak
                    wrote on last edited by
                    #42

                    Ok! :)

                    a) Windows 7 64 bits
                    b) Qt version 5.0.1, Mingw 4.7 32 bits

                    And as I said before I get those messages opening a QFileDialog window with getOpenFileNames() method.

                    1 Reply Last reply
                    0
                    • ? Offline
                      ? Offline
                      A Former User
                      wrote on last edited by
                      #43

                      good boy :D

                      hm as I assumed... Why haven't you upgraded to the current stable release 5.0.2 and checked whether the problem still exists or whether it is fixed already?

                      Then you would have discovered that the error you describe was fixed in 5.0.2 already.

                      please follow these instructions carfully to make your life easier:

                      If you have a problem/bug, please verify at first that you use the latest Qt release. Releases increasing the third number are called "bugfix release" (e.g. 5.0.1 -> 5.0.2), because they FIX BUGS.

                      --> If you have a bug and need a bugfix - ensure you have the current bugfix release of Qt installed (is your Qt version identical to the Qt version provided at http://qt-project.org/downloads).

                      It's unneccessary to ask for new bugfixes without testing whether currently available bugfixes in the current stable release solved the issue already. :)

                      It is no personal offence, but I try to educate people for a structured apporach solving their own problem solution instead of shouting for support. This means a) upgrade to the newest version, verify if the problem still exists before you ask b) provide a minimal set of information to allow others to help :)

                      Enjoy :)

                      1 Reply Last reply
                      0
                      • C Offline
                        C Offline
                        Cyttorak
                        wrote on last edited by
                        #44

                        Thank you for your time, TorbenD. I will update to bugfix release some time in the future :)

                        1 Reply Last reply
                        0
                        • K Offline
                          K Offline
                          Konstantin Shestov
                          wrote on last edited by Konstantin Shestov
                          #45

                          Hi all.
                          I have this problem on QT 5.11, exactly the same in topic description. I have a stacktrace and etc.

                          SGaistS 1 Reply Last reply
                          0
                          • K Konstantin Shestov

                            Hi all.
                            I have this problem on QT 5.11, exactly the same in topic description. I have a stacktrace and etc.

                            SGaistS Offline
                            SGaistS Offline
                            SGaist
                            Lifetime Qt Champion
                            wrote on last edited by
                            #46

                            @Konstantin-Shestov hi and welcome to devnet,

                            Then please provide the informations you have. I'd recommend opening a new thread as your system is likely very different from the one of the OP which opened this thread 8 years ago.

                            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
                            • Unsolved