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. Something wrong with qt
Forum Updated to NodeBB v4.3 + New Features

Something wrong with qt

Scheduled Pinned Locked Moved Solved General and Desktop
24 Posts 6 Posters 4.1k 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.
  • SGaistS SGaist

    Did you try a full rebuild of your project ?

    EngelardE Offline
    EngelardE Offline
    Engelard
    wrote on last edited by Engelard
    #9

    @SGaist like function "rebuild all"? Yes, it build with 0 errors, but error then will come when i press Ctrl+R

    P.S. it's definately about Qt, because when i opened first time, after first error it worked, and after like 15min that error with user64 appear. In between i do basically nothing in my computer.

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

      So neither does error 1 and 2 happen anymore ?

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

      EngelardE 1 Reply Last reply
      0
      • SGaistS SGaist

        So neither does error 1 and 2 happen anymore ?

        EngelardE Offline
        EngelardE Offline
        Engelard
        wrote on last edited by
        #11

        @SGaist said in Something wrong with qt:

        So neither does error 1 and 2 happen anymore ?

        1 stop to appear even before i posted this thread. 2nd still here. I even tryied to reboot PC

        1 Reply Last reply
        0
        • EngelardE Engelard

          @SGaist like function "rebuild all"? Yes, it build with 0 errors, but error then will come when i press Ctrl+R

          P.S. it's definately about Qt, because when i opened first time, after first error it worked, and after like 15min that error with user64 appear. In between i do basically nothing in my computer.

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by JonB
          #12

          @Engelard
          Given the state you seem to be in (e.g. I don't think you should ever be looking for a user64.lib), I think @SGaist would like to see a completely fresh rebuild done, where there is no chance of it picking up bits of already compiled stuff lying around. Now I'm not expert because I don't use C++/Qt Creator/cmake builds, but you should be able to literally delete anything & everything that is not part of your sources and build again from complete scratch. I know "rebuild all" sounds good enough, but it may not be.

          I don't know what to tell you to delete for sure, but I don't think you should even start with folders named debug in existence, they should all get created I imagine during the build process. You don't want .objs, .pchs etc. If you're unsure, you can always precede by copying the whole folder hierarchy somewhere, or copying all the sources into a newly-created hierarchy. It is worth doing all this, because your situation sounds pretty strange....

          P.S.

          and after like 15min that error with user64 appear

          Extraordinary!

          EngelardE 1 Reply Last reply
          0
          • JonBJ JonB

            @Engelard
            Given the state you seem to be in (e.g. I don't think you should ever be looking for a user64.lib), I think @SGaist would like to see a completely fresh rebuild done, where there is no chance of it picking up bits of already compiled stuff lying around. Now I'm not expert because I don't use C++/Qt Creator/cmake builds, but you should be able to literally delete anything & everything that is not part of your sources and build again from complete scratch. I know "rebuild all" sounds good enough, but it may not be.

            I don't know what to tell you to delete for sure, but I don't think you should even start with folders named debug in existence, they should all get created I imagine during the build process. You don't want .objs, .pchs etc. If you're unsure, you can always precede by copying the whole folder hierarchy somewhere, or copying all the sources into a newly-created hierarchy. It is worth doing all this, because your situation sounds pretty strange....

            P.S.

            and after like 15min that error with user64 appear

            Extraordinary!

            EngelardE Offline
            EngelardE Offline
            Engelard
            wrote on last edited by
            #13

            @JonB

            Extraordinary!

            It's not time for fun rly. My Qt not working anymore.

            P.S. tried to compile other projects i have, they compiled and run as they should. But i did'nt add or remove anything from my project which have error. It's in fact the same as that which i mentioned before.

            JonBJ 1 Reply Last reply
            0
            • EngelardE Engelard

              @JonB

              Extraordinary!

              It's not time for fun rly. My Qt not working anymore.

              P.S. tried to compile other projects i have, they compiled and run as they should. But i did'nt add or remove anything from my project which have error. It's in fact the same as that which i mentioned before.

              JonBJ Offline
              JonBJ Offline
              JonB
              wrote on last edited by JonB
              #14

              @Engelard
              I never intended it as "fun". I meant having a LINK complaint only once every fifteen minutes is extraordinary. Either it links with user64.lib (which according to me does not exist) or it does not, it should not vary.

              1 Reply Last reply
              0
              • EngelardE Offline
                EngelardE Offline
                Engelard
                wrote on last edited by Engelard
                #15

                So what can i do? And what might cause such a problem?

                UPDATE:

                Oh. I just goes to build folder, and in \debug was no output .exe file of this project, seems like something happened when i removed that copy of .exe which was asked first error. But if i put that .exe in \debug folder and try to build project - it deletes that .exe and give save link error.... And now i can't restore that .exe which was removed by Qt. It's not even in Recycle bin...

                jsulmJ 1 Reply Last reply
                0
                • EngelardE Engelard

                  So what can i do? And what might cause such a problem?

                  UPDATE:

                  Oh. I just goes to build folder, and in \debug was no output .exe file of this project, seems like something happened when i removed that copy of .exe which was asked first error. But if i put that .exe in \debug folder and try to build project - it deletes that .exe and give save link error.... And now i can't restore that .exe which was removed by Qt. It's not even in Recycle bin...

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #16

                  @Engelard Well, the executable is deleted when you're building because it will be replaced by new one if the build succeeds. You should try to delete the complete build folder, run qmake and build.

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  EngelardE 1 Reply Last reply
                  3
                  • jsulmJ jsulm

                    @Engelard Well, the executable is deleted when you're building because it will be replaced by new one if the build succeeds. You should try to delete the complete build folder, run qmake and build.

                    EngelardE Offline
                    EngelardE Offline
                    Engelard
                    wrote on last edited by
                    #17

                    @jsulm I tried, same error still there...
                    And same for release

                    1 Reply Last reply
                    0
                    • SGaistS SGaist

                      AFAIK, there's only the User32 library provided on Windows.

                      EngelardE Offline
                      EngelardE Offline
                      Engelard
                      wrote on last edited by
                      #18

                      @SGaist said in Something wrong with qt:

                      AFAIK, there's only the User32 library provided on Windows.

                      I searched for this "user64.lib" on PC, nothing found. Searched for such a file to download - also, seems like no such .lib even exist. So why then Qt ask me for that thing which does'nt exist?

                      1 Reply Last reply
                      0
                      • EngelardE Offline
                        EngelardE Offline
                        Engelard
                        wrote on last edited by Engelard
                        #19

                        I just now tried next:

                        1. Found User32.lib on my C:\
                        2. Place it in build directory
                        3. Renamed it to user64.lib

                        And that stupidity just worked now.
                        What's wrong with qt? it's certainly should'nt work like that...

                        alt text

                        K 1 Reply Last reply
                        0
                        • EngelardE Engelard

                          I just now tried next:

                          1. Found User32.lib on my C:\
                          2. Place it in build directory
                          3. Renamed it to user64.lib

                          And that stupidity just worked now.
                          What's wrong with qt? it's certainly should'nt work like that...

                          alt text

                          K Offline
                          K Offline
                          koahnig
                          wrote on last edited by aha_1980
                          #20

                          @Engelard

                          Some stupid questions:
                          Are you the only one having access to that PC?
                          Is there a chance that someone is trying to play some nasty games with you?
                          When you are in creator, press "Ctrl+Shift+F" and search all projects for user64 and have a look what pops up.

                          Vote the answer(s) that helped you to solve your issue(s)

                          EngelardE 1 Reply Last reply
                          3
                          • K koahnig

                            @Engelard

                            Some stupid questions:
                            Are you the only one having access to that PC?
                            Is there a chance that someone is trying to play some nasty games with you?
                            When you are in creator, press "Ctrl+Shift+F" and search all projects for user64 and have a look what pops up.

                            EngelardE Offline
                            EngelardE Offline
                            Engelard
                            wrote on last edited by
                            #21

                            @koahnig said in Something wrong with qt:

                            @Engelard
                            Are you the only one having access to that PC?

                            Yes

                            Is there a chance that someone is trying to play some nasty games with you?

                            Wat? :D

                            When you are in creator, press "Ctrl+Shft+F" and search all projects for user64 and have a look what pops up.

                            Found LIBS += -luser64 in my pro file

                            jsulmJ 1 Reply Last reply
                            0
                            • EngelardE Engelard

                              @koahnig said in Something wrong with qt:

                              @Engelard
                              Are you the only one having access to that PC?

                              Yes

                              Is there a chance that someone is trying to play some nasty games with you?

                              Wat? :D

                              When you are in creator, press "Ctrl+Shft+F" and search all projects for user64 and have a look what pops up.

                              Found LIBS += -luser64 in my pro file

                              jsulmJ Offline
                              jsulmJ Offline
                              jsulm
                              Lifetime Qt Champion
                              wrote on last edited by
                              #22

                              @Engelard said in Something wrong with qt:

                              Found LIBS += -luser64 in my pro file

                              Why is it there?

                              https://forum.qt.io/topic/113070/qt-code-of-conduct

                              EngelardE 1 Reply Last reply
                              1
                              • jsulmJ jsulm

                                @Engelard said in Something wrong with qt:

                                Found LIBS += -luser64 in my pro file

                                Why is it there?

                                EngelardE Offline
                                EngelardE Offline
                                Engelard
                                wrote on last edited by
                                #23

                                @jsulm
                                needed for something important in my code, now i don't even remember :D

                                ODБOïO 1 Reply Last reply
                                -1
                                • EngelardE Engelard

                                  @jsulm
                                  needed for something important in my code, now i don't even remember :D

                                  ODБOïO Offline
                                  ODБOïO Offline
                                  ODБOï
                                  wrote on last edited by
                                  #24

                                  https://en.wikipedia.org/wiki/Comment_(computer_programming)

                                  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