Ticket #4702: mingw.patch
File mingw.patch, 3.8 KB (added by , 16 years ago) |
---|
-
libs/libmythui/libmythui.pro
76 76 cygwin:DEFINES += _WIN32 77 77 78 78 mingw { 79 # For easier debugging: 80 target.path = $${PREFIX}/bin 81 79 82 using_opengl { 80 83 LIBS += -lopengl32 81 84 DEFINES += USE_OPENGL_PAINTER -
libs/libmythupnp/libmythupnp.pro
43 43 LIBS += $$EXTRA_LIBS 44 44 45 45 mingw { 46 # For easier debugging: 47 target.path = $${PREFIX}/bin 48 46 49 HEADERS += darwin-sendfile.h 47 50 SOURCES += darwin-sendfile.c 48 51 } -
programs/mythfrontend/main.cpp
964 964 } 965 965 } 966 966 967 #if defined(_WIN32) && !defined(DEBUG) 968 // pure Win32 GUI app does not have standard IO streams 969 // simply assign the file descriptors to the logfile 970 *stdout = *(_fdopen(new_logfd, "w")); 971 *stderr = *stdout; 972 setvbuf(stdout, NULL, _IOLBF, 256); 973 #else 967 974 while (dup2(new_logfd, 1) < 0 && errno == EINTR); 968 975 while (dup2(new_logfd, 2) < 0 && errno == EINTR); 969 976 while (close(new_logfd) < 0 && errno == EINTR); 977 #endif 970 978 971 979 return 0; 972 980 } -
programs/mythfrontend/mythfrontend.pro
36 36 SOURCES += custompriority.cpp 37 37 SOURCES += mythappearance.cpp 38 38 39 mingw { 40 !debug: CONFIG -= console 41 } 42 39 43 macx { 40 44 mac_bundle { 41 45 CONFIG -= console # Force behaviour of producing .app bundle -
programs/mythtv/mythtv.pro
13 13 # Input 14 14 SOURCES += main.cpp 15 15 16 mingw { 17 !debug: CONFIG -= console 18 } 19 16 20 macx { 17 21 mac_bundle { 18 22 QMAKE_POST_LINK = ../../contrib/OSX/makebundle.sh mythtv -
programs/mythwelcome/main.cpp
172 171 } 173 172 } 174 173 174 #if defined(_WIN32) && !defined(DEBUG) 175 // pure Win32 GUI app does not have standard IO streams 176 // simply assign the file descriptors to the logfile 177 *stdout = *(_fdopen(new_logfd, "w")); 178 *stderr = *stdout; 179 setvbuf(stdout, NULL, _IOLBF, 256); 180 #else 175 181 while (dup2(new_logfd, 1) < 0 && errno == EINTR); 176 182 while (dup2(new_logfd, 2) < 0 && errno == EINTR); 177 183 while (close(new_logfd) < 0 && errno == EINTR); 184 #endif 178 185 179 186 return true; 180 187 } -
programs/mythwelcome/mythwelcome.pro
19 19 # Input 20 20 HEADERS += welcomedialog.h welcomesettings.h 21 21 SOURCES += main.cpp welcomedialog.cpp welcomesettings.cpp 22 23 mingw { 24 !debug: CONFIG -= console 25 } -
settings.pro
9 9 10 10 isEmpty(TARGET_OS) : win32 { 11 11 CONFIG += mingw 12 DEFINES += USING_MINGW USING_WINAUDIO USING_D3D USING_DIRECTX12 DEFINES += USING_MINGW USING_WINAUDIO USING_D3D 13 13 DEFINES -= UNICODE 14 14 QMAKE_EXTENSION_SHLIB = dll 15 15 VERSION =