Ticket #110: qt4-gcc442.diff

File qt4-gcc442.diff, 1.9 KB (added by psmedley, 10 years ago)

Diff for building qwith gcc 4.4.2

  • src/gui/kernel/qapplication_pm.cpp

     
    109109extern QCursor *qt_grab_cursor();
    110110
    111111extern void qt_WinQueryClipRegionOrRect(HWND hwnd, HRGN hrgn); // qwidget_pm.cpp
     112extern bool qt_sendSpontaneousEvent(QObject*, QEvent*);
    112113
    113114extern QRegion qt_dirtyRegion(QWidget *); // qbackingstore.cpp
    114115
  • src/gui/kernel/qclipboard_pm.cpp

     
    6666#   define DEBUG(a) do {} while(0)
    6767#endif
    6868
     69extern bool qt_sendSpontaneousEvent(QObject*, QEvent*);
     70
    6971QT_BEGIN_NAMESPACE
    7072
    7173////////////////////////////////////////////////////////////////////////////////
  • src/tools/uic/utils.h

     
    5555inline QString toString(const DomString *str)
    5656{ return str ? str->text() : QString(); }
    5757
     58
    5859inline QString fixString(const QString &str, const QString &indent)
    5960{
    6061    QString cursegment;
  • src/3rdparty/freetype/include/freetype/config/ftheader.h

     
    184184# else
    185185    // On a newer compiler that works, we should completely remove any traces of
    186186    // this workaround from this file
    187 #  error "Please check the comment above this line!"
     187//#  error "Please check the comment above this line!"
     188#define FT_FREETYPE_H  <freetype/freetype.h>
    188189# endif
    189190#else
    190191#define FT_FREETYPE_H  <freetype/freetype.h>