Ignore:
Timestamp:
Feb 11, 2010, 11:19:06 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.1 sources.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/gui/dialogs/dialogs.pri

    r2 r561  
    88        dialogs/qcolordialog.h \
    99        dialogs/qcolordialog_p.h \
     10        dialogs/qfscompleter_p.h \
    1011        dialogs/qdialog.h \
    1112        dialogs/qdialog_p.h \
     
    2829
    2930!embedded:mac {
    30     OBJECTIVE_SOURCES += dialogs/qcolordialog_mac.mm \
    31                          dialogs/qfiledialog_mac.mm \
     31    OBJECTIVE_SOURCES += dialogs/qfiledialog_mac.mm \
    3232                         dialogs/qfontdialog_mac.mm \
    3333                         dialogs/qnspanelproxy_mac.mm \
    3434                         dialogs/qpagesetupdialog_mac.mm \
    3535                         dialogs/qprintdialog_mac.mm
     36
     37# Compile qcolordialog_mac.mm with exception support, disregarding the -no-exceptions
     38# configure option. (qcolordialog_mac needs to catch exceptions thrown by cocoa)
     39    EXCEPTION_SOURCES = dialogs/qcolordialog_mac.mm
     40    exceptions_compiler.commands = $$QMAKE_CXX -c
     41    exceptions_compiler.commands += $(CXXFLAGS) $(INCPATH) ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT}
     42    exceptions_compiler.commands += -fexceptions
     43    exceptions_compiler.dependency_type = TYPE_C
     44    exceptions_compiler.output = ${QMAKE_VAR_OBJECTS_DIR}${QMAKE_FILE_BASE}$${first(QMAKE_EXT_OBJ)}
     45    exceptions_compiler.input = EXCEPTION_SOURCES
     46    exceptions_compiler.variable_out = OBJECTS
     47    exceptions_compiler.name = compiling[exceptopns] ${QMAKE_FILE_IN}
     48    silent:exceptions_compiler.commands = @echo compiling[exceptopns] ${QMAKE_FILE_IN} && $$exceptions_compiler.commands
     49    QMAKE_EXTRA_COMPILERS += exceptions_compiler
    3650}
     51
    3752win32 {
    3853    HEADERS += dialogs/qwizard_win_p.h
     
    4661}
    4762
    48 !mac:!embedded:unix {
     63!mac:!embedded:!symbian:unix {
    4964        HEADERS += dialogs/qpagesetupdialog_unix_p.h
    5065        SOURCES += dialogs/qprintdialog_unix.cpp \
     
    7186}
    7287
    73 wince*: FORMS += dialogs/qfiledialog_wince.ui
     88wince*|symbian: FORMS += dialogs/qfiledialog_embedded.ui
    7489else: FORMS += dialogs/qfiledialog.ui
    7590
Note: See TracChangeset for help on using the changeset viewer.