Hi Guys,

Yes I used qt3 compatibility later.

I have installed QT 4.8.4 now and minGW 4.4 on a XP Machine. Now I have compiled again and have "only" these errors:

Is there a magic line to add on my project file to compile this old project again? Any chance??

Qt Code:
  1. C:\Documents and Settings\Administrator\Desktop\18.10.07\inventar>qmake
  2.  
  3. C:\Documents and Settings\Administrator\Desktop\18.10.07\inventar>make
  4. mingw32-make -f Makefile.Debug
  5. mingw32-make[1]: Entering directory `C:/Documents and Settings/Administrator/Des
  6. ktop/18.10.07/inventar'
  7. g++ -c -pipe -g -frtti -fexceptions -mthreads -Wall -Wextra -DUNICODE -DQT_LARGE
  8. FILE_SUPPORT -DQT_DLL -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_SQL_LIB -DQT_GUI_LI
  9. B -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQ
  10. T_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\Qt\4.8.4\include\QtCore"
  11. -I"c:\Qt\4.8.4\include\QtGui" -I"c:\Qt\4.8.4\include\QtSql" -I"c:\Qt\4.8.4\inclu
  12. de\Qt3Support" -I"c:\Qt\4.8.4\include" -I"." -I"c:\Qt\4.8.4\include\ActiveQt" -I
  13. "debug" -I"c:\Qt\4.8.4\mkspecs\default" -o debug\abfrage.o abfrage.cpp
  14. In file included from abfrage.cpp:11:
  15. abfrage.h:30: error: 'WFlags' has not been declared
  16. In file included from abfrage.cpp:12:
  17. ergebnisse.h:32: error: 'WFlags' has not been declared
  18. In file included from abfrage.cpp:13:
  19. mainwindow.h:53: error: 'WFlags' has not been declared
  20. mainwindow.h:53: error: 'WType_TopLevel' was not declared in this scope
  21. abfrage.cpp:34: error: 'WFlags' has not been declared
  22. abfrage.cpp: In constructor 'Abfrage::Abfrage(QWidget*, const char*, bool, int)'
  23. :
  24. abfrage.cpp:35: error: conversion from 'int' to 'Qt::WindowFlags' is ambiguous
  25. c:\Qt\4.8.4\include/QtCore/../../src/corelib/global/qglobal.h:2311: note: candid
  26. ates are: QFlags<Enum>::QFlags(void**) [with Enum = Qt::WindowType] <near match>
  27.  
  28. c:\Qt\4.8.4\include/QtCore/../../src/corelib/global/qglobal.h:2310: note:
  29. QFlags<Enum>::QFlags(Enum) [with Enum = Qt::WindowType] <near match>
  30. abfrage.cpp:70: error: 'WState_Polished' was not declared in this scope
  31. abfrage.cpp:70: error: 'clearWState' was not declared in this scope
  32. abfrage.cpp: In member function 'virtual void Abfrage::openErgebnis()':
  33. abfrage.cpp:144: error: invalid use of incomplete type 'struct QListViewItem'
  34. ergebnisse.h:20: error: forward declaration of 'struct QListViewItem'
  35. abfrage.cpp:163: error: invalid use of incomplete type 'struct QListViewItem'
  36. ergebnisse.h:20: error: forward declaration of 'struct QListViewItem'
  37. abfrage.cpp:185: error: invalid use of incomplete type 'struct QListViewItem'
  38. ergebnisse.h:20: error: forward declaration of 'struct QListViewItem'
  39. abfrage.cpp:207: error: invalid use of incomplete type 'struct QListViewItem'
  40. ergebnisse.h:20: error: forward declaration of 'struct QListViewItem'
  41. abfrage.cpp:232: error: invalid use of incomplete type 'struct QListViewItem'
  42. ergebnisse.h:20: error: forward declaration of 'struct QListViewItem'
  43. abfrage.cpp:258: error: invalid use of incomplete type 'struct QListViewItem'
  44. ergebnisse.h:20: error: forward declaration of 'struct QListViewItem'
  45. abfrage.cpp:265: error: 'class QListView' has no member named 'setColumnText'
  46. abfrage.cpp:266: error: 'class QListView' has no member named 'setColumnText'
  47. abfrage.cpp:267: error: 'class QListView' has no member named 'setColumnText'
  48. abfrage.cpp:268: error: 'class QListView' has no member named 'setColumnText'
  49. abfrage.cpp:269: error: 'class QListView' has no member named 'setColumnText'
  50. abfrage.cpp:289: error: invalid use of incomplete type 'struct QListViewItem'
  51. ergebnisse.h:20: error: forward declaration of 'struct QListViewItem'
  52. abfrage.cpp:297: error: 'class QListView' has no member named 'setColumnText'
  53. abfrage.cpp:298: error: 'class QListView' has no member named 'setColumnText'
  54. abfrage.cpp:299: error: 'class QListView' has no member named 'setColumnText'
  55. abfrage.cpp:300: error: 'class QListView' has no member named 'setColumnText'
  56. abfrage.cpp:301: error: 'class QListView' has no member named 'setColumnText'
  57. abfrage.cpp:315: error: invalid use of incomplete type 'struct QListViewItem'
  58. ergebnisse.h:20: error: forward declaration of 'struct QListViewItem'
  59. abfrage.cpp:321: error: 'class QListView' has no member named 'setColumnText'
  60. abfrage.cpp:322: error: 'class QListView' has no member named 'setColumnText'
  61. abfrage.cpp:323: error: 'class QListView' has no member named 'setColumnText'
  62. abfrage.cpp:324: error: 'class QListView' has no member named 'setColumnText'
  63. abfrage.cpp:325: error: 'class QListView' has no member named 'setColumnText'
  64. abfrage.cpp:334: error: invalid use of incomplete type 'struct QListViewItem'
  65. ergebnisse.h:20: error: forward declaration of 'struct QListViewItem'
  66. mingw32-make[1]: *** [debug/abfrage.o] Error 1
  67. mingw32-make[1]: Leaving directory `C:/Documents and Settings/Administrator/Desk
  68. top/18.10.07/inventar'
  69. mingw32-make: *** [debug] Error 2
  70.  
  71. C:\Documents and Settings\Administrator\Desktop\18.10.07\inventar>
To copy to clipboard, switch view to plain text mode 

Here my project file:
Qt Code:
  1. ######################################################################
  2. # Automatically generated by qmake (1.07a) Di 14. Feb 13:36:06 2006
  3. ######################################################################
  4.  
  5. TEMPLATE = app
  6. INCLUDEPATH += .
  7. QT += sql
  8. QT += qt3support
  9.  
  10.  
  11. # Input
  12. HEADERS += abfrage.h \
  13. admineditor.h \
  14. bemerkungdialog.h \
  15. ergebnisse.h \
  16. gotodialog.h \
  17. licensedialog.h \
  18. licensemanagement.h \
  19. lizenzerweiterndialog.h \
  20. login.h \
  21. mainwindow.h \
  22. softwaredialog.h \
  23. softwaremover.h \
  24. update.h \
  25. updatelicensedialog.h
  26. SOURCES += abfrage.cpp \
  27. admineditor.cpp \
  28. bemerkungdialog.cpp \
  29. ergebnisse.cpp \
  30. gotodialog.cpp \
  31. licensedialog.cpp \
  32. licensemanagement.cpp \
  33. lizenzerweiterndialog.cpp \
  34. login.cpp \
  35. main.cpp \
  36. mainwindow.cpp \
  37. softwaredialog.cpp \
  38. softwaremover.cpp \
  39. update.cpp \
  40. updatelicensedialog.cpp
  41.  
  42.  
  43. IMAGES = images/editcut \
  44. images/editpaste \
  45. images/filenew \
  46. images/fileopen \
  47. images/filesave \
  48. images/print \
  49. images/redo \
  50. images/searchfind \
  51. images/undo \
  52. images/table.png \
  53. images/delete.png \
  54. images/find.png \
  55. images/new.png \
  56. images/leftarrow.png \
  57. images/rightarrow.png \
  58. images/Grafik1.png \
  59. images/icon_13.png \
  60. images/gotocell.png \
  61. images/undo_1.png \
  62. images/redo_1.png \
  63. images/next.png \
  64. images/previous.png \
  65. images/logo1.png \
  66. images/home.png \
  67. images/icon.png \
  68. images/question_icon.png \
  69. images/generic.png \
  70. images/sqlserver.jpg \
  71. images/login.jpg \
  72. images/goto.png
To copy to clipboard, switch view to plain text mode