Here are the set of errors which have come..Originally Posted by wysota
They arise from the file qwindowsxpstyle.cpp.. My OS is Widows 2000 prof... Are they 'coz of different OS...
I am pasting the first page of them..
[HTML]
styles\qwindowsxpstyle.cpp:67:21: uxtheme.h: No such file or directory
styles\qwindowsxpstyle.cpp:68:22: tmschema.h: No such file or directory
styles\qwindowsxpstyle.cpp:168: warning: `__stdcall__' attribute only applies to function types
styles\qwindowsxpstyle.cpp:168: error: typedef `PtrGetThemePartSize' is initialized (use __typeof__ instead)
styles\qwindowsxpstyle.cpp:168: error: `HTHEME' was not declared in this scope
styles\qwindowsxpstyle.cpp:168: error: expected primary-expression before "hdc"
styles\qwindowsxpstyle.cpp:168: error: expected primary-expression before "int"
styles\qwindowsxpstyle.cpp:168: error: expected primary-expression before "int"
styles\qwindowsxpstyle.cpp:168: error: expected primary-expression before '*' token
styles\qwindowsxpstyle.cpp:168: error: `prc' was not declared in this scope
styles\qwindowsxpstyle.cpp:168: error: expected primary-expression before "enum"
styles\qwindowsxpstyle.cpp:168: error: expected primary-expression before '*' token
styles\qwindowsxpstyle.cpp:168: error: `psz' was not declared in this scope
styles\qwindowsxpstyle.cpp:169: error: ISO C++ forbids declaration of `HTHEME' with no type
styles\qwindowsxpstyle.cpp:169: error: typedef `HTHEME' is initialized (use __typeof__ instead)
styles\qwindowsxpstyle.cpp:169: error: expected primary-expression before "__attribute__"
styles\qwindowsxpstyle.cpp:169: error: expected `,' or `;' before '(' token
styles\qwindowsxpstyle.cpp:181: error: `INTLIST' has not been declared
styles\qwindowsxpstyle.cpp:181: error: ISO C++ forbids declaration of `pIntList' with no type
styles\qwindowsxpstyle.cpp:182: error: `MARGINS' has not been declared
styles\qwindowsxpstyle.cpp:182: error: ISO C++ forbids declaration of `pMargins' with no type
styles\qwindowsxpstyle.cpp:184: error: use of enum `THEMESIZE' without previous declaration
styles\qwindowsxpstyle.cpp:184: error: ISO C++ forbids declaration of `eSize' with no type
styles\qwindowsxpstyle.cpp:184: error: conflicting declaration 'typedef LONG (*PtrGetThemePartSize)(HTHEME, struct HDC__*, int, int, struct RECT*, int, struct SIZE*)'
styles\qwindowsxpstyle.cpp:168: error: 'PtrGetThemePartSize' has a previous declaration as `typedef LONG*PtrGetThemePartSize'
styles\qwindowsxpstyle.cpp:184: error: declaration of `typedef LONG (*PtrGetThemePartSize)(HTHEME, struct HDC__*, int, int, struct RECT*, int, struct SIZE*)'
styles\qwindowsxpstyle.cpp:168: error: conflicts with previous declaration `typedef LONG*PtrGetThemePartSize'
styles\qwindowsxpstyle.cpp:184: error: declaration of `typedef LONG (*PtrGetThemePartSize)(HTHEME, struct HDC__*, int, int, struct RECT*, int, struct SIZE*)'
styles\qwindowsxpstyle.cpp:168: error: conflicts with previous declaration `typedef LONG*PtrGetThemePartSize'
styles\qwindowsxpstyle.cpp:186: error: use of enum `PROPERTYORIGIN' without previous declaration
styles\qwindowsxpstyle.cpp:186: error: ISO C++ forbids declaration of `pOrigin' with no type
styles\qwindowsxpstyle.cpp:193: error: `PtrOpenThemeData' does not name a type
styles\qwindowsxpstyle.cpp: In member function `HTHEME XPThemeData::handle()':
styles\qwindowsxpstyle.cpp:399: error: `pOpenThemeData' undeclared (first use this function)
styles\qwindowsxpstyle.cpp:399: error: (Each undeclared identifier is reported only once for each function it appears in.)
styles\qwindowsxpstyle.cpp: In member function `const QPixmap* QWindowsXPStylePrivate::tabBody(QWidget*)':
styles\qwindowsxpstyle.cpp:545: error: `TABP_BODY' undeclared (first use this function)
styles\qwindowsxpstyle.cpp:546: error: `TS_TRUE' undeclared (first use this function)
styles\qwindowsxpstyle.cpp:546: error: `pGetThemePartSize' cannot be used as a function
styles\qwindowsxpstyle.cpp: In static member function `static bool QWindowsXPStylePrivate::resolveSymbols()':
styles\qwindowsxpstyle.cpp:575: error: `pOpenThemeData' undeclared (first use this function)
styles\qwindowsxpstyle.cpp:575: error: `PtrOpenThemeData' undeclared (first use this function)
[/HTML]
ALso there were set of warnings at the starting... Here they are..
[HTML]
..\..\corelib\io\qfsfileengine.cpp:130: warning: 'QByteArray openModeToFopenMode(QFlags<QIODevice::OpenModeFlag >, const QString&)' defined but not used
..\..\corelib\io\qfsfileengine.cpp:130: warning: 'QByteArray openModeToFopenMode(QFlags<QIODevice::OpenModeFlag >, const QString&)' defined but not used
..\..\corelib\io\qfsfileengine.cpp:130: warning: 'QByteArray openModeToFopenMode(QFlags<QIODevice::OpenModeFlag >, const QString&)' defined but not used
io\qfsfileengine.cpp:130: warning: 'QByteArray openModeToFopenMode(QFlags<QIODevice::OpenModeFlag >, const QString&)' defined but not used
kernel\qeventdispatcher_win.cpp: In destructor `virtual QEventDispatcherWin32Private::~QEventDispatcherWin 32Private()':
kernel\qeventdispatcher_win.cpp:156: warning: cast from pointer to integer of different size
kernel\qeventdispatcher_win.cpp: In function `HWND__* qt_create_internal_window(const QEventDispatcherWin32*)':
kernel\qeventdispatcher_win.cpp:322: warning: cast from pointer to integer of different size
kernel\qeventdispatcher_win.cpp:780:2: warning: no newline at end of file
Creating library file: C:\Qt\4.1.1\lib\libQtCored4.a
Creating library file: C:\Qt\4.1.1\lib\libQtXmld4.a
kernel\qapplication_win.cpp: In member function `bool QETWidget::translateTabletEvent(const MSG&, PACKET*, int)':
kernel\qapplication_win.cpp:3303: warning: passing `qreal' for converting 1 of `QPoint::QPoint(int, int)'
kernel\qapplication_win.cpp:3303: warning: passing `qreal' for converting 2 of `QPoint::QPoint(int, int)'
In file included from C:/Qt/4.1.1/include/QtGui/private/qprintengine_win_p.h:1,
from painting\qprinter.cpp:34:
C:/Qt/4.1.1/include/QtGui/private/../../../src/gui/painting/qprintengine_win_p.h: In constructor `QWin32PrintEnginePrivate::QWin32PrintEnginePrivat e()':
C:/Qt/4.1.1/include/QtGui/private/../../../src/gui/painting/qprintengine_win_p.h:180: warning: `QWin32PrintEnginePrivate::hdc' will be initialized after
C:/Qt/4.1.1/include/QtGui/private/../../../src/gui/painting/qprintengine_win_p.h:177: warning: `void*QWin32PrintEnginePrivate:Info'
[/HTML]
As u said that make failed 'coz i had not compiled... But if this is the case then why does make execute my application whenever i include the line CONFIG += release in my .pro file...![]()
Bookmarks