Please nominate your Qt Champions for 2021!

[SOLVED] 64 bit windows build fails

  • i have successfully build qt 4.8.5 64 bit on windows 64 but i am having trouble with building a qt based dll because many of the signals i have declared in my header file are not being resolved at link time. i have checked and double checked that the moc_* files are being generated and linked into the dll. i also took a look at the moc_*.cpp file and the function declarations are there as well.

    it is strange that the first signal i declare is being resolved but any subsequent signal is not being resolved.

    i am ensuring that the 64 bit compiler is being used.

    i am using the exact same *.pro file on Linux and MacOS without problems. might someone have an idea what may be the problem here?

  • sorry i meant qt 4.8.5 64 bit on windows 7

  • Lifetime Qt Champion


    Can you show your header as well as the error you are getting ?

  • i got it to work how can i post this message to be solved?

  • Lifetime Qt Champion

    Good, what was it ?

    Just edit your first post and update the title prepending [solved]

    Happy coding !

  • sorry, i didn't see the last question. what had happened was that a previous version of the mod* file was hanging around that was causing problems. the make clean was for some reason not removing the file but once i removed these files and rebuilt all was well.

Log in to reply