https://github.com/Kitware/CMake
Revision 61c60b239c0ddc5eb975bb9cc3721b792a2aa18f authored by Stephen Kelly on 12 March 2014, 15:58:03 UTC, committed by Stephen Kelly on 17 March 2014, 13:15:14 UTC
Override the QT_QTMAIN_LIBRARY cache variable with a regular
variable in the Qt 5 configuration. This avoids linking with the
Qt 4 version of the WinMain library.
1 parent 7534967
Raw File
Tip revision: 61c60b239c0ddc5eb975bb9cc3721b792a2aa18f authored by Stephen Kelly on 12 March 2014, 15:58:03 UTC
QtDialog: Avoid linking to Qt4 WinMain when using Qt 5.
Tip revision: 61c60b2
kde3init_dummy.cpp.in

/* used by KDE3Macros.cmake */

extern "C" int kdemain(int argc, char* argv[]);
extern "C" int kdeinitmain(int argc, char* argv[]) { return kdemain(argc,argv); }
int main(int argc, char* argv[]) { return kdemain(argc,argv); }
back to top