1st steps for a mac build using qtcreator and based on the .pro files used on Windows

This commit is contained in:
Jean-Francois Dockes
2021-02-02 17:44:23 +01:00
parent 3b6b52da6b
commit 2d90b80bb5
8 changed files with 464 additions and 31 deletions
+3 -1
View File
@@ -553,7 +553,9 @@ static void flushIdxReasons()
// enable wmain. Another workaround is to use main, then call
// GetCommandLineW and CommandLineToArgvW, to then call wmain(). If
// ever we need to build with mingw again.
#define USE_WMAIN (defined(_WIN32) && defined(_MSC_VER))
#if defined(_WIN32) && defined(_MSC_VER)
#define USE_WMAIN 1
#endif
#if USE_WMAIN
#define WARGTOSTRING(w) wchartoutf8(w)