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. Library not registered error!
Qt 6.11 is out! See what's new in the release blog

Library not registered error!

Scheduled Pinned Locked Moved Solved General and Desktop
12 Posts 3 Posters 4.2k 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.
  • H Offline
    H Offline
    Hachenze
    wrote on last edited by
    #1

    Hi there! Here is a output of my app:
    12:41:00: Debugging D:\Univer\2kurs\Course_Work\build-Course_work-Desktop_Qt_6_6_1_MinGW_64_bit-Debug\debug\Course_work.exe ...
    mincore\com\oleaut32\dispatch\ups.cpp(2126)\OLEAUT32.dll!00007FFC22F2470C: (caller: 00007FFC22F249FA) ReturnHr(1) tid(2d70) 8002801D Library not registered.
    onecore\vm\dv\storage\plan9\rdr\dll\util.cpp(99)\p9np.dll!00007FFBE78CF0CC: (caller: 00007FFBE78C93B0) LogHr(1) tid(1a08) C0000034 Msg:[?????????????????????????????????????????????????????/??????????????????????????????????????????????)]
    12:53:54: Debugging of D:\Univer\2kurs\Course_Work\build-Course_work-Desktop_Qt_6_6_1_MinGW_64_bit-Debug\debug\Course_work.exe has finished with exit code 0.

    I already trying to solve this problem for some hours, and it still dont work. Please help me if you know how to solve it!

    H 1 Reply Last reply
    0
    • hskoglundH Offline
      hskoglundH Offline
      hskoglund
      wrote on last edited by
      #2

      I think you need to update your Windows 10, so that you'll get a fresher version of oleaut32.dll.
      Some google hits on this error: for example here

      H 1 Reply Last reply
      0
      • hskoglundH hskoglund

        I think you need to update your Windows 10, so that you'll get a fresher version of oleaut32.dll.
        Some google hits on this error: for example here

        H Offline
        H Offline
        Hachenze
        wrote on last edited by
        #3

        @hskoglund, i was thinking about it, but my windows is up to date. And error is still here

        1 Reply Last reply
        0
        • hskoglundH Offline
          hskoglundH Offline
          hskoglund
          wrote on last edited by
          #4

          Do you get the same error if you try building in Release mode (instead of Debug)?

          H 1 Reply Last reply
          0
          • hskoglundH Offline
            hskoglundH Offline
            hskoglund
            wrote on last edited by
            #5

            Also try uinstalling your WSL or upgrading it to WSL2

            H 1 Reply Last reply
            0
            • hskoglundH hskoglund

              Do you get the same error if you try building in Release mode (instead of Debug)?

              H Offline
              H Offline
              Hachenze
              wrote on last edited by Hachenze
              #6

              @hskoglund this error ocures in debug mode when i trying to initialize new QVector
              изображение_2023-12-08_183204821.png

              Fun fact: i get this error only in one function on the begining of it

              1 Reply Last reply
              0
              • hskoglundH hskoglund

                Also try uinstalling your WSL or upgrading it to WSL2

                H Offline
                H Offline
                Hachenze
                wrote on last edited by
                #7

                @hskoglund it is doesn't help me

                Axel SpoerlA 1 Reply Last reply
                0
                • H Hachenze

                  @hskoglund it is doesn't help me

                  Axel SpoerlA Offline
                  Axel SpoerlA Offline
                  Axel Spoerl
                  Moderators
                  wrote on last edited by
                  #8

                  @Hachenze
                  Which MinGW version are you using?
                  Check here for supported OS / compiler versions.

                  Software Engineer
                  The Qt Company, Oslo

                  H 1 Reply Last reply
                  0
                  • Axel SpoerlA Axel Spoerl

                    @Hachenze
                    Which MinGW version are you using?
                    Check here for supported OS / compiler versions.

                    H Offline
                    H Offline
                    Hachenze
                    wrote on last edited by Hachenze
                    #9

                    @Axel-Spoerl изображение_2023-12-08_231125748.png
                    I get this error when trying to debug any line of code, maybe it is when i trying to create variables using dynamic memory
                    Like this: изображение_2023-12-08_231653535.png

                    Axel SpoerlA 1 Reply Last reply
                    0
                    • H Hachenze

                      @Axel-Spoerl изображение_2023-12-08_231125748.png
                      I get this error when trying to debug any line of code, maybe it is when i trying to create variables using dynamic memory
                      Like this: изображение_2023-12-08_231653535.png

                      Axel SpoerlA Offline
                      Axel SpoerlA Offline
                      Axel Spoerl
                      Moderators
                      wrote on last edited by
                      #10

                      @Hachenze
                      The heap allocation is likely to just be the trigger. The problem looks like a local configuration mismatch.
                      Can you isolate it to a specific app (Course_Work)?
                      Can you build & run Qt examples from Creator?

                      Software Engineer
                      The Qt Company, Oslo

                      H 1 Reply Last reply
                      0
                      • Axel SpoerlA Axel Spoerl

                        @Hachenze
                        The heap allocation is likely to just be the trigger. The problem looks like a local configuration mismatch.
                        Can you isolate it to a specific app (Course_Work)?
                        Can you build & run Qt examples from Creator?

                        H Offline
                        H Offline
                        Hachenze
                        wrote on last edited by
                        #11

                        @Axel-Spoerl I launched Qt example and it works fine.
                        I am just getting started in Qt and in programing at all, so i dont understand what you mean "Can you isolate it to a specific app (Course_Work)?"

                        1 Reply Last reply
                        0
                        • H Hachenze has marked this topic as solved on
                        • H Hachenze

                          Hi there! Here is a output of my app:
                          12:41:00: Debugging D:\Univer\2kurs\Course_Work\build-Course_work-Desktop_Qt_6_6_1_MinGW_64_bit-Debug\debug\Course_work.exe ...
                          mincore\com\oleaut32\dispatch\ups.cpp(2126)\OLEAUT32.dll!00007FFC22F2470C: (caller: 00007FFC22F249FA) ReturnHr(1) tid(2d70) 8002801D Library not registered.
                          onecore\vm\dv\storage\plan9\rdr\dll\util.cpp(99)\p9np.dll!00007FFBE78CF0CC: (caller: 00007FFBE78C93B0) LogHr(1) tid(1a08) C0000034 Msg:[?????????????????????????????????????????????????????/??????????????????????????????????????????????)]
                          12:53:54: Debugging of D:\Univer\2kurs\Course_Work\build-Course_work-Desktop_Qt_6_6_1_MinGW_64_bit-Debug\debug\Course_work.exe has finished with exit code 0.

                          I already trying to solve this problem for some hours, and it still dont work. Please help me if you know how to solve it!

                          H Offline
                          H Offline
                          Hachenze
                          wrote on last edited by
                          #12

                          @Hachenze I solved this problem. There was a problem with memory alocation. Very stupid me.

                          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