Ticket #5331: qt4_plugins.diff

File qt4_plugins.diff, 7.0 KB (added by arnonm@…, 16 years ago)

Update myththemes for QT4 under win32

  • mythmusic/mythmusic/mythmusic.pro

     
    7272    SOURCES += cddecoder-windows.cpp
    7373
    7474    LIBS += -logg
     75          TARGET      = lib$${TARGET}
     76
    7577}
    7678#The following line was inserted by qt3to4
    7779QT += xml  sql opengl qt3support
  • mytharchive/mytharchive/mytharchive.pro

     
    9898
    9999#The following line was inserted by qt3to4
    100100QT += xml  sql opengl qt3support
     101
     102mingw:  TARGET      = lib$${TARGET}
  • settings.pro

     
    1010
    1111isEmpty(TARGET_OS) : win32 {
    1212    CONFIG += mingw
    13     LIBS += -L/bin -lmyth-0.22 -lmythui-0.22 -lmythtv-0.22
     13    DEFINES += USING_MINGW USING_WINAUDIO USING_D3D USING_DIRECTX
     14    DEFINES -= UNICODE
     15    QMAKE_EXTENSION_SHLIB = dll
     16    VERSION =
     17    CONFIG_OPENGL_LIBS =
     18    # Qt4 creates separate compile directories by default. This disables:
     19    CONFIG -= debug_and_release debug_and_release_target
     20    # win32-packager.pl builds Qt under DOS, but MythTV is built in MinGW.
     21    # This corrects the moc tool path from a DOS-style to a unix style:
     22    QMAKE_MOC = $$[QT_INSTALL_BINS]/moc
     23    QMAKE_MKDIR         = mkdir -p
     24    LIBS += -L/bin -lmyth-0.22 -lmythui-0.22 -lmythtv-0.22 -lws2_32
    1425    LIBS += -lmythavformat-0.22 -lmythavcodec-0.22 -lmythavutil-0.22
     26    QMAKE_INSTALL_DIR = sh ./cpsvndir
     27    QMAKE_COPY_DIR= sh ./cpsvndir
     28    DEPENDS += ./
     29        QMAKE_SH=sh
     30        QMAKE_MKDIR             = mkdir -p
     31
    1532}
    1633
    1734DEFINES += _GNU_SOURCE
  • mythgallery/mythgallery/mythgallery.pro

     
    1515LIBS += -ltiff
    1616LIBS *= $$LOCAL_LIBDIR_X11
    1717
     18
    1819INCLUDEPATH += $${PREFIX}/include/mythtv
    1920
    2021# Input
     
    4647}
    4748
    4849mingw:DEFINES += USING_MINGW
     50mingw:  TARGET      = lib$${TARGET}
    4951#The following line was inserted by qt3to4
    5052QT += network opengl sql xml qt3support
  • mythweather/mythweather/mythweather.pro

     
    99
    1010INCLUDEPATH += $${PREFIX}/include/mythtv
    1111
     12
     13scripts.path = $${PREFIX}/share/mythtv/mythweather/scripts/uk_bbc
     14scripts.files = scripts/uk_bbc/*
     15INSTALLS +=  scripts
     16
     17scripts2.path = $${PREFIX}/share/mythtv/mythweather/scripts/ca_envcan
     18scripts2.files = scripts/ca_envcan/*
     19INSTALLS +=  scripts2
     20
     21scripts3.path = $${PREFIX}/share/mythtv/mythweather/scripts/us_nws
     22scripts3.files = scripts/us_nsw/*
     23INSTALLS +=  scripts3
     24
     25scripts4.path = $${PREFIX}/share/mythtv/mythweather/scripts
     26scripts4.files = scripts/README
     27INSTALLS +=  scripts4
     28
     29
    1230datafiles.path = $${PREFIX}/share/mythtv/mythweather/
    1331datafiles.files = weather-screens.xml
    14 installscripts.path = $${PREFIX}/share/mythtv/mythweather/scripts
    15 installscripts.files = scripts/*
    16 INSTALLS += datafiles installscripts
    17 
     32INSTALLS += datafiles
    1833# Input
    1934
    2035HEADERS += weather.h weatherSource.h sourceManager.h weatherScreen.h dbcheck.h
     
    2742}
    2843
    2944mingw:DEFINES += USING_MINGW
     45mingw:  TARGET      = lib$${TARGET}
     46mingw:DEPENDS += ./
     47
    3048#The following line was inserted by qt3to4
    3149QT += opengl sql xml qt3support
  • mythflix/mythflix/mythflix.pro

     
    2727}
    2828#The following line was inserted by qt3to4
    2929QT += network xml sql opengl qt3support
     30
     31mingw:  TARGET      = lib$${TARGET}
     32
  • mythmovies/mythmovies/mythmovies.pro

     
    1717}
    1818
    1919mingw:DEFINES += USING_MINGW
     20mingw:  TARGET      = lib$${TARGET}
     21
    2022#The following line was inserted by qt3to4
    2123QT += xml sql opengl qt3support
  • mythcontrols/mythcontrols/mythcontrols.pro

     
    1919}
    2020#The following line was inserted by qt3to4
    2121QT += sql xml opengl qt3support
     22
     23mingw:  TARGET      = lib$${TARGET}
     24
  • mythvideo/mythvideo/mythvideo.pro

     
    4343}
    4444
    4545mingw:DEFINES += USING_MINGW
     46mingw:  TARGET      = lib$${TARGET}
     47
    4648#The following line was inserted by qt3to4
    4749QT += opengl sql xml qt3support
  • mythgame/mythgame/mythgame.pro

     
    2424
    2525#The following line was inserted by qt3to4
    2626QT += xml sql opengl qt3support
     27
     28mingw:  TARGET      = lib$${TARGET}
     29
  • mythphone/mythphone/mythphone.pro

     
    2525
    2626SOURCES += main.cpp webcam.cpp PhoneSettings.cpp phoneui.cpp sipfsm.cpp directory.cpp dbcheck.cpp rtp.cpp g711.cpp g711tabs.cpp vxml.cpp tts.cpp wavfile.cpp h263.cpp tone.cpp sipstack.cpp md5digest.cpp gsm.cpp gsm/add.c gsm/code.c gsm/debug.c gsm/decode.c gsm/long_term.c gsm/lpc.c gsm/preprocess.c gsm/rpe.c gsm/gsm_destroy.c gsm/gsm_decode.c gsm/gsm_encode.c gsm/gsm_explode.c gsm/gsm_implode.c gsm/gsm_create.c gsm/gsm_print.c gsm/gsm_option.c gsm/short_term.c gsm/table.c dtmffilter.cpp audiodrv.cpp
    2727
     28mingw:  TARGET      = lib$${TARGET}
    2829
    2930#The following line was inserted by qt3to4
    3031QT += xml network opengl sql qt3support
  • mythzoneminder/mythzoneminder/mythzoneminder.pro

     
    1919}
    2020
    2121QT += opengl sql xml qt3support
     22
     23mingw:  TARGET      = lib$${TARGET}
     24
  • mythnews/mythnews/mythnews.pro

     
    2525}
    2626#The following line was inserted by qt3to4
    2727QT += network opengl sql xml qt3support
     28
     29mingw:  TARGET      = lib$${TARGET}
     30