diff options
author | Gunnar Sletta <gunnar.sletta@nokia.com> | 2011-09-13 08:54:45 +0200 |
---|---|---|
committer | Gunnar Sletta <gunnar.sletta@nokia.com> | 2011-09-13 08:54:45 +0200 |
commit | b62bd0584a7872b6917917009b707785b3abd077 (patch) | |
tree | 9981f274712c098cabbff0c4667672a3934e5393 /src/widgets/dialogs/dialogs.pri | |
parent | 5e10745dca1d10025404a9f268f03ae697fb10cc (diff) | |
parent | 97baad65f65783d2b5ff938f6217aec9434f2e5f (diff) |
Merge branch 'refactor'
Conflicts:
mkspecs/qws/linux-lsb-g++/qmake.conf
src/gui/image/qpixmap_mac.cpp
src/gui/painting/qpaintengine_x11.cpp
src/gui/painting/qtessellator.cpp
src/gui/text/qfontengine_qws.cpp
src/gui/text/qfontengine_x11.cpp
src/gui/widgets/qlinecontrol.cpp
src/opengl/qgl.h
src/opengl/qgl_x11egl.cpp
src/plugins/plugins.pro
Change-Id: If52dcd55cd55f2983a756c2f843967702b60a310
Diffstat (limited to 'src/widgets/dialogs/dialogs.pri')
-rw-r--r-- | src/widgets/dialogs/dialogs.pri | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/src/widgets/dialogs/dialogs.pri b/src/widgets/dialogs/dialogs.pri new file mode 100644 index 0000000000..41d81b8afc --- /dev/null +++ b/src/widgets/dialogs/dialogs.pri @@ -0,0 +1,82 @@ +# Qt dialogs module + +HEADERS += \ + dialogs/qcolordialog.h \ + dialogs/qcolordialog_p.h \ + dialogs/qfscompleter_p.h \ + dialogs/qdialog.h \ + dialogs/qdialog_p.h \ + dialogs/qerrormessage.h \ + dialogs/qfiledialog.h \ + dialogs/qfiledialog_p.h \ + dialogs/qfontdialog.h \ + dialogs/qfontdialog_p.h \ + dialogs/qinputdialog.h \ + dialogs/qmessagebox.h \ + dialogs/qprogressdialog.h \ + dialogs/qsidebar_p.h \ + dialogs/qfilesystemmodel.h \ + dialogs/qfilesystemmodel_p.h \ + dialogs/qfileinfogatherer_p.h \ + dialogs/qwizard.h + +!qpa:mac { + OBJECTIVE_SOURCES += dialogs/qfiledialog_mac.mm \ + dialogs/qfontdialog_mac.mm \ + dialogs/qnspanelproxy_mac.mm + +# Compile qcolordialog_mac.mm with exception support, disregarding the -no-exceptions +# configure option. (qcolordialog_mac needs to catch exceptions thrown by cocoa) + EXCEPTION_SOURCES = dialogs/qcolordialog_mac.mm + exceptions_compiler.commands = $$QMAKE_CXX -c + exceptions_compiler.commands += $(CXXFLAGS) $(INCPATH) ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT} + exceptions_compiler.commands += -fexceptions + exceptions_compiler.dependency_type = TYPE_C + exceptions_compiler.output = ${QMAKE_VAR_OBJECTS_DIR}${QMAKE_FILE_BASE}$${first(QMAKE_EXT_OBJ)} + exceptions_compiler.input = EXCEPTION_SOURCES + exceptions_compiler.variable_out = OBJECTS + exceptions_compiler.name = compiling[exceptopns] ${QMAKE_FILE_IN} + silent:exceptions_compiler.commands = @echo compiling[exceptopns] ${QMAKE_FILE_IN} && $$exceptions_compiler.commands + QMAKE_EXTRA_COMPILERS += exceptions_compiler +} + +win32 { + qpa:DEFINES += QT_NO_PRINTDIALOG + + HEADERS += dialogs/qwizard_win_p.h \ + dialogs/qfiledialog_win_p.h + SOURCES += dialogs/qdialogsbinarycompat_win.cpp \ + dialogs/qfiledialog_win.cpp \ + dialogs/qwizard_win.cpp + + !win32-borland:!wince*: LIBS += -lshell32 # the filedialog needs this library +} + +wince*|symbian: FORMS += dialogs/qfiledialog_embedded.ui +else: FORMS += dialogs/qfiledialog.ui + +INCLUDEPATH += $$PWD +SOURCES += \ + dialogs/qcolordialog.cpp \ + dialogs/qdialog.cpp \ + dialogs/qerrormessage.cpp \ + dialogs/qfiledialog.cpp \ + dialogs/qfontdialog.cpp \ + dialogs/qinputdialog.cpp \ + dialogs/qmessagebox.cpp \ + dialogs/qprogressdialog.cpp \ + dialogs/qsidebar.cpp \ + dialogs/qfilesystemmodel.cpp \ + dialogs/qfileinfogatherer.cpp \ + dialogs/qwizard.cpp \ + +symbian:contains(QT_CONFIG, s60) { + LIBS += -lCommonDialogs + SOURCES += dialogs/qfiledialog_symbian.cpp \ + dialogs/qcolordialog_symbian.cpp +} + +RESOURCES += dialogs/qmessagebox.qrc + +# Compensate for lack of platform defines in Symbian3 +symbian: DEFINES += SYMBIAN_VERSION_$$upper($$replace(SYMBIAN_VERSION,\\.,_)) |