the same application i can compile on qt4.1..... run ok! on qt4.2 i found this error....

from gui_main_final.cpp:9:
E:/qt4/include/QtNetwork/../../src/network/qnetworkinterface.h:97: error: expect
ed `,' or `...' before "struct"
mingw32-make[2]: *** [release\gui_main_final.o] Error 1
mingw32-make[2]: Leaving directory `E:/v7/CMS_SRC_5'
mingw32-make[1]: *** [release] Error 2
mingw32-make[1]: Leaving directory `E:/v7/CMS_SRC_5'
mingw32-make: *** [sub-CMS_SRC_5-make_default] Error 2


Qt Code:
  1. E:\qt4\src\network\qnetworkinterface.h
  2.  
  3. InterfaceFlags flags() const; /* line 80 */
  4. QString hardwareAddress() const;
  5. QList<QNetworkAddressEntry> addressEntries() const;
  6.  
  7. static QNetworkInterface interfaceFromName(const QString &name);
  8. static QNetworkInterface interfaceFromIndex(int index);
  9. static QList<QNetworkInterface> allInterfaces();
  10. static QList<QHostAddress> allAddresses();
  11.  
  12. private:
  13. friend class QNetworkInterfacePrivate;
  14. QSharedDataPointer<QNetworkInterfacePrivate> d;
  15. };
  16.  
  17. Q_DECLARE_OPERATORS_FOR_FLAGS(QNetworkInterface::InterfaceFlags)
  18.  
  19. #ifndef QT_NO_DEBUG_STREAM
  20. Q_NETWORK_EXPORT QDebug operator<<(QDebug debug, const QNetworkInterface &interface); /* line 97 */
  21. #endif
  22.  
  23. QT_END_HEADER
  24.  
  25. #endif
To copy to clipboard, switch view to plain text mode 

waht i must chanche to compile .... ?

Note: i use -static on window ... same as http://wiki.qtcentre.org/index.php?t...c_applications