release mode build creates only debug dlls
-
Hi,
I'm trying to build qt 5.12.2 in release mode using the commands:
- configure -nomake examples -nomake tests -opensource -qt-libpng -release
2.. nmake install
It seems that debug mode is built, but not release.
I can see only dlls that their names end with d on the target folder.
Are you familiar with this issue? How can I overcome that?Thank you,
Gal - configure -nomake examples -nomake tests -opensource -qt-libpng -release
-
Hi and welcome to devnet,
Did you check the configure summary to see if there was anything suspicious ?
-
Typically that the build type select is debug rather than release.
By the way, how did you determine that the libraries have been built in debug mode ?
-
Typically that the build type select is debug rather than release.
By the way, how did you determine that the libraries have been built in debug mode ?
@sgaist said in release mode build creates only debug dlls:
how did you determine that the libraries have been built in debug mode ?
@gperi said in release mode build creates only debug dlls:
I can see only dlls that their names end with d on the target folder.
-
I just realized that you are building 5.12.2. Try updating to 5.12.5.
One additional thing, use out of source builds so if you need to restart you can just nuke the folder, create a new one and start from a clean state. -
Well, improvements and bug fixes that have happened in between.
-
Hi @gperi,
What do you mean by "out of source builds"?
That, or shadow-building means, the build takes place in a different folder than the sources reside. The recommended way is to have this folder parallel to the sources.
See section "Configuring and Building" in https://wiki.qt.io/Building_Qt_5_from_Git
Regards