demos/qtdemo/qtdemo.pro
changeset 0 1918ee327afb
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 CONFIG += assistant help x11inc
       
     2 TARGET = qtdemo
       
     3 DEMO_DESTDIR = $$QT_BUILD_TREE
       
     4 isEmpty(DEMO_DESTDIR):DEMO_DESTDIR=../..
       
     5 DESTDIR = $$DEMO_DESTDIR/bin
       
     6 OBJECTS_DIR = .obj
       
     7 MOC_DIR = .moc
       
     8 INSTALLS += target sources
       
     9 
       
    10 
       
    11 QT += xml network
       
    12 
       
    13 contains(QT_CONFIG, opengl) {
       
    14     DEFINES += QT_OPENGL_SUPPORT
       
    15     QT += opengl
       
    16 }
       
    17 
       
    18 build_all:!build_pass {
       
    19     CONFIG -= build_all
       
    20     CONFIG += release
       
    21 }
       
    22 
       
    23 RESOURCES = qtdemo.qrc
       
    24 HEADERS = mainwindow.h \
       
    25     demoscene.h \
       
    26     demoitem.h \
       
    27     score.h \
       
    28     demoitemanimation.h \
       
    29     itemcircleanimation.h \
       
    30     demotextitem.h \
       
    31     headingitem.h \
       
    32     dockitem.h \
       
    33     scanitem.h \
       
    34     letteritem.h \
       
    35     examplecontent.h \
       
    36     menucontent.h \
       
    37     guide.h \
       
    38     guideline.h \
       
    39     guidecircle.h \
       
    40     menumanager.h \
       
    41     colors.h \
       
    42     textbutton.h \
       
    43     imageitem.h
       
    44 SOURCES = main.cpp \
       
    45     demoscene.cpp \
       
    46     mainwindow.cpp \
       
    47     demoitem.cpp \
       
    48     score.cpp \
       
    49     demoitemanimation.cpp \
       
    50     itemcircleanimation.cpp \
       
    51     demotextitem.cpp \
       
    52     headingitem.cpp \
       
    53     dockitem.cpp \
       
    54     scanitem.cpp \
       
    55     letteritem.cpp \
       
    56     examplecontent.cpp \
       
    57     menucontent.cpp \
       
    58     guide.cpp \
       
    59     guideline.cpp \
       
    60     guidecircle.cpp \
       
    61     menumanager.cpp \
       
    62     colors.cpp \
       
    63     textbutton.cpp \
       
    64     imageitem.cpp
       
    65 
       
    66 win32:RC_FILE = qtdemo.rc
       
    67 mac {
       
    68 ICON = qtdemo.icns
       
    69 QMAKE_INFO_PLIST = Info_mac.plist
       
    70 }
       
    71 
       
    72 symbian: include($$QT_SOURCE_TREE/demos/symbianpkgrules.pri)
       
    73 
       
    74 # install
       
    75 target.path = $$[QT_INSTALL_BINS]
       
    76 sources.files = $$SOURCES $$HEADERS $$FORMS $$RESOURCES qtdemo.pro images xml *.ico *.icns *.rc *.plist
       
    77 sources.path = $$[QT_INSTALL_DEMOS]/qtdemo
       
    78