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.
  • EngelardE Offline
    EngelardE Offline
    Engelard
    wrote on last edited by
    #1

    I did'nt used Qt like for month or so, last project was finished and worked perfectly and compiles without any errors. Now i opened that project in qt, and that gave me some strange error when i attempt to compile.

    Since Qt forum don't have "spoiler" feature, i can't fold my text in to better shape, so:

    Error #1(don't appear anymore, unnecessary to read)

    D:\stud\Qt\build-GetValue-Desktop_Qt_5_10_1_MSVC2017_64bit2-Debug test.EXE does'nt exist

    But it should exist there, in that folder, it must exist only in next folder \debug. I copied that test.exe in previous folder as Qt asked and that compiles, but when i press ctrl+R it open that copy(so no updates, qt open only that copy, not compiled new program), and compiled remained in proper \debug folder.

    I deleted that copy, reload qt couple of times and that error just disappeared(so not my fault was, if simple restarts of program resolve error).

    After that only one question: Qt, wtf?

    Error #2

    alt text

    Everything was fine month ago, i did'nt change anything in Qt folders or project folder.

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

      Hi,

      Any chance of an update to your system ?
      Change/update of anti-virus ?

      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

        Hi,

        Any chance of an update to your system ?
        Change/update of anti-virus ?

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

        @SGaist emm...

        I runed Full scan with my antivirus today, but it found nothing. And my system is still the same i think.

        And i tried to compile some my projects in VS2017, everything fine there, so i think it's not a global thing, it's with Qt(my opinion).

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

          What about user64.lib ?

          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

            What about user64.lib ?

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

            @SGaist said in Something wrong with qt:

            What about user64.lib ?

            What about it?:D
            I did'nt touch such stuff. Where it should be and where i can download proper one?

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

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

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

              EngelardE 2 Replies Last reply
              2
              • SGaistS SGaist

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

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

                @SGaist Ok, i'll tell.

                The only thing i used is new Feature in cheat Engine called Ultimap. This stuff requires some stuff DBVM. But now it's turned off and cheat engine to. So i have no idea whats broken here....

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

                  Did you try a full rebuild of your project ?

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

                                          • Login

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