|
Last change
on this file since 184 was 160, checked in by dmik, 19 years ago |
|
Imported table and iconview modules and a bunch of dependent examples from the official release 3.3.1 from Trolltech.
|
|
File size:
2.2 KB
|
| Line | |
|---|
| 1 | TEMPLATE = app
|
|---|
| 2 | TARGET = demo
|
|---|
| 3 |
|
|---|
| 4 | CONFIG += qt warn_off release
|
|---|
| 5 | unix:LIBS += -lm
|
|---|
| 6 | DEFINES += QT_INTERNAL_ICONVIEW
|
|---|
| 7 | DEFINES += QT_INTERNAL_WORKSPACE
|
|---|
| 8 | DEFINES += QT_INTERNAL_CANVAS
|
|---|
| 9 | INCLUDEPATH += .
|
|---|
| 10 | DEPENDPATH = ../../include
|
|---|
| 11 |
|
|---|
| 12 | REQUIRES = full-config nocrosscompiler
|
|---|
| 13 |
|
|---|
| 14 | HEADERS = frame.h \
|
|---|
| 15 | categoryinterface.h \
|
|---|
| 16 | qthumbwheel.h \
|
|---|
| 17 | display.h \
|
|---|
| 18 | textdrawing/textedit.h \
|
|---|
| 19 | textdrawing/helpwindow.h \
|
|---|
| 20 | dnd/dnd.h \
|
|---|
| 21 | dnd/styledbutton.h \
|
|---|
| 22 | dnd/iconview.h \
|
|---|
| 23 | dnd/listview.h \
|
|---|
| 24 | i18n/i18n.h \
|
|---|
| 25 | i18n/wrapper.h \
|
|---|
| 26 | ../aclock/aclock.h
|
|---|
| 27 | SOURCES = frame.cpp \
|
|---|
| 28 | qthumbwheel.cpp \
|
|---|
| 29 | display.cpp \
|
|---|
| 30 | textdrawing/textedit.cpp \
|
|---|
| 31 | textdrawing/helpwindow.cpp \
|
|---|
| 32 | dnd/dnd.cpp \
|
|---|
| 33 | dnd/styledbutton.cpp \
|
|---|
| 34 | dnd/iconview.cpp \
|
|---|
| 35 | dnd/listview.cpp \
|
|---|
| 36 | i18n/i18n.cpp \
|
|---|
| 37 | ../aclock/aclock.cpp \
|
|---|
| 38 | main.cpp
|
|---|
| 39 |
|
|---|
| 40 | FORMS = dnd/dndbase.ui
|
|---|
| 41 |
|
|---|
| 42 | include( ../../src/qt_professional.pri )
|
|---|
| 43 |
|
|---|
| 44 | canvas {
|
|---|
| 45 | HEADERS +=graph.h \
|
|---|
| 46 | qasteroids/toplevel.h \
|
|---|
| 47 | qasteroids/view.h \
|
|---|
| 48 | qasteroids/ledmeter.h
|
|---|
| 49 | SOURCES +=graph.cpp \
|
|---|
| 50 | qasteroids/toplevel.cpp \
|
|---|
| 51 | qasteroids/view.cpp \
|
|---|
| 52 | qasteroids/ledmeter.cpp
|
|---|
| 53 | }
|
|---|
| 54 |
|
|---|
| 55 | opengl {
|
|---|
| 56 | HEADERS +=opengl/glworkspace.h \
|
|---|
| 57 | opengl/glcontrolwidget.h \
|
|---|
| 58 | opengl/gltexobj.h \
|
|---|
| 59 | opengl/glbox.h \
|
|---|
| 60 | opengl/glgear.h \
|
|---|
| 61 | opengl/gllandscape.h \
|
|---|
| 62 | opengl/fbm.h \
|
|---|
| 63 | opengl/glinfo.h \
|
|---|
| 64 | opengl/glinfotext.h
|
|---|
| 65 | SOURCES +=opengl/glworkspace.cpp \
|
|---|
| 66 | opengl/glcontrolwidget.cpp \
|
|---|
| 67 | opengl/gltexobj.cpp \
|
|---|
| 68 | opengl/glbox.cpp \
|
|---|
| 69 | opengl/glgear.cpp \
|
|---|
| 70 | opengl/gllandscape.cpp \
|
|---|
| 71 | opengl/fbm.c
|
|---|
| 72 | win32 {
|
|---|
| 73 | SOURCES +=opengl/glinfo_win.cpp
|
|---|
| 74 | } mac {
|
|---|
| 75 | SOURCES +=opengl/glinfo_mac.cpp
|
|---|
| 76 | LIBS +=-framework Carbon
|
|---|
| 77 | } else:unix {
|
|---|
| 78 | SOURCES +=opengl/glinfo_x11.cpp
|
|---|
| 79 | }
|
|---|
| 80 |
|
|---|
| 81 | FORMS +=opengl/printpreview.ui \
|
|---|
| 82 | opengl/gllandscapeviewer.ui
|
|---|
| 83 |
|
|---|
| 84 | CONFIG -= dlopen_opengl
|
|---|
| 85 | }
|
|---|
| 86 |
|
|---|
| 87 | sql {
|
|---|
| 88 | FORMS +=sql/connect.ui \
|
|---|
| 89 | sql/sqlex.ui
|
|---|
| 90 | }
|
|---|
| 91 |
|
|---|
| 92 | table {
|
|---|
| 93 | FORMS +=widgets/widgetsbase.ui
|
|---|
| 94 | }
|
|---|
| 95 |
|
|---|
| 96 | !table {
|
|---|
| 97 | FORMS +=widgets/widgetsbase_pro.ui
|
|---|
| 98 | }
|
|---|
| 99 |
|
|---|
| 100 | TRANSLATIONS = translations/demo_ar.ts \
|
|---|
| 101 | translations/demo_de.ts \
|
|---|
| 102 | translations/demo_fr.ts \
|
|---|
| 103 | translations/demo_iw.ts
|
|---|
| 104 |
|
|---|
| 105 | PRECOMPILED_HEADER = demo_pch.h
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.