Ticket #5332: qt4_themes.diff

File qt4_themes.diff, 919 bytes (added by arnonm@…, 16 years ago)

Updated to pro files to compile under QT4 win32

  • myththemes.pro

     
    1616
    1717# Input
    1818SOURCES += dummy.c
     19
     20isEmpty(TARGET_OS) : win32 {
     21    CONFIG += mingw
     22    DEFINES += USING_MINGW USING_WINAUDIO USING_D3D USING_DIRECTX
     23    DEFINES -= UNICODE
     24    QMAKE_EXTENSION_SHLIB = dll
     25    VERSION =
     26    CONFIG_OPENGL_LIBS =
     27    # Qt4 creates separate compile directories by default. This disables:
     28    CONFIG -= debug_and_release debug_and_release_target
     29    # win32-packager.pl builds Qt under DOS, but MythTV is built in MinGW.
     30    # This corrects the moc tool path from a DOS-style to a unix style:
     31    QMAKE_MOC = $$[QT_INSTALL_BINS]/moc
     32    QMAKE_MKDIR         = mkdir -p
     33    QMAKE_INSTALL_DIR = sh ./cpsvndir
     34    QMAKE_COPY_DIR= sh ./cpsvndir
     35    DEPENDS += ./
     36        QMAKE_SH=sh
     37        QMAKE_MKDIR             = mkdir -p
     38
     39}