Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Something wrong with qt



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


  • Lifetime Qt Champion

    Hi,

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



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


  • Lifetime Qt Champion

    What about user64.lib ?



  • @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?


  • Lifetime Qt Champion

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



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


  • Lifetime Qt Champion

    Did you try a full rebuild of your project ?



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


  • Lifetime Qt Champion

    So neither does error 1 and 2 happen anymore ?



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



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



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



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



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


  • Lifetime Qt Champion

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



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



  • @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?



  • 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



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



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


  • Lifetime Qt Champion

    @Engelard said in Something wrong with qt:

    Found LIBS += -luser64 in my pro file

    Why is it there?



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




Log in to reply