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

Something wrong with qt

Scheduled Pinned Locked Moved Solved General and Desktop
24 Posts 6 Posters 4.1k Views
  • 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.
  • E Offline
    E Offline
    Engelard
    wrote on 4 Oct 2018, 19:21 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
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 4 Oct 2018, 19:46 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

      E 1 Reply Last reply 4 Oct 2018, 20:19
      0
      • S SGaist
        4 Oct 2018, 19:46

        Hi,

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

        E Offline
        E Offline
        Engelard
        wrote on 4 Oct 2018, 20:19 last edited by Engelard 10 Apr 2018, 20:26
        #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
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 4 Oct 2018, 20:28 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

          E 1 Reply Last reply 4 Oct 2018, 20:47
          0
          • S SGaist
            4 Oct 2018, 20:28

            What about user64.lib ?

            E Offline
            E Offline
            Engelard
            wrote on 4 Oct 2018, 20:47 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
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 4 Oct 2018, 21:11 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

              E 2 Replies Last reply 4 Oct 2018, 21:21
              2
              • S SGaist
                4 Oct 2018, 21:11

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

                E Offline
                E Offline
                Engelard
                wrote on 4 Oct 2018, 21:21 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
                • S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 4 Oct 2018, 21:47 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

                  E 1 Reply Last reply 4 Oct 2018, 21:52
                  1
                  • S SGaist
                    4 Oct 2018, 21:47

                    Did you try a full rebuild of your project ?

                    E Offline
                    E Offline
                    Engelard
                    wrote on 4 Oct 2018, 21:52 last edited by Engelard 10 Apr 2018, 21:54
                    #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.

                    J 1 Reply Last reply 4 Oct 2018, 21:59
                    0
                    • S Offline
                      S Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on 4 Oct 2018, 21:54 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

                      E 1 Reply Last reply 4 Oct 2018, 21:55
                      0
                      • S SGaist
                        4 Oct 2018, 21:54

                        So neither does error 1 and 2 happen anymore ?

                        E Offline
                        E Offline
                        Engelard
                        wrote on 4 Oct 2018, 21:55 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
                        • E Engelard
                          4 Oct 2018, 21:52

                          @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.

                          J Offline
                          J Offline
                          JonB
                          wrote on 4 Oct 2018, 21:59 last edited by JonB 10 Apr 2018, 22:01
                          #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!

                          E 1 Reply Last reply 4 Oct 2018, 22:12
                          0
                          • J JonB
                            4 Oct 2018, 21:59

                            @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!

                            E Offline
                            E Offline
                            Engelard
                            wrote on 4 Oct 2018, 22:12 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.

                            J 1 Reply Last reply 4 Oct 2018, 22:27
                            0
                            • E Engelard
                              4 Oct 2018, 22:12

                              @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.

                              J Offline
                              J Offline
                              JonB
                              wrote on 4 Oct 2018, 22:27 last edited by JonB 10 Apr 2018, 22:29
                              #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
                              • E Offline
                                E Offline
                                Engelard
                                wrote on 4 Oct 2018, 23:42 last edited by Engelard 10 Apr 2018, 23:47
                                #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 5 Oct 2018, 05:07
                                0
                                • E Engelard
                                  4 Oct 2018, 23:42

                                  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 5 Oct 2018, 05:07 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

                                  E 1 Reply Last reply 5 Oct 2018, 14:10
                                  3
                                  • jsulmJ jsulm
                                    5 Oct 2018, 05:07

                                    @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.

                                    E Offline
                                    E Offline
                                    Engelard
                                    wrote on 5 Oct 2018, 14:10 last edited by
                                    #17

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

                                    1 Reply Last reply
                                    0
                                    • S SGaist
                                      4 Oct 2018, 21:11

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

                                      E Offline
                                      E Offline
                                      Engelard
                                      wrote on 5 Oct 2018, 14:17 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
                                      • E Offline
                                        E Offline
                                        Engelard
                                        wrote on 5 Oct 2018, 14:28 last edited by Engelard 10 May 2018, 14:33
                                        #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 5 Oct 2018, 14:41
                                        0
                                        • E Engelard
                                          5 Oct 2018, 14:28

                                          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 5 Oct 2018, 14:41 last edited by aha_1980 10 May 2018, 15:05
                                          #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)

                                          E 1 Reply Last reply 5 Oct 2018, 15:01
                                          3

                                          3/24

                                          4 Oct 2018, 20:19

                                          21 unread
                                          • Login

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