I tried to do as you advise me, and something is moving but i get this error now:
Qt Code:
  1. D:\Qt\4.4.0\examples\dialogs\sipdialog>nmake
  2.  
  3. Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
  4. Copyright (C) Microsoft Corporation. All rights reserved.
  5.  
  6. "C:\Programmi\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe" -f Makefile.
  7. Debug all
  8.  
  9. Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
  10. Copyright (C) Microsoft Corporation. All rights reserved.
  11.  
  12. g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_S
  13. UPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN
  14. -I'../../../include/QtCore' -I'../../../include/QtCore' -I'../../../include/QtGu
  15. i' -I'../../../include/QtGui' -I'../../../include' -I'.' -I'd:/Qt/4.4.0/include/
  16. ActiveQt' -I'tmp/moc/debug_shared' -I'.' -I'../../../mkspecs/win32-g++' -o tmp/o
  17. bj/debug_shared/dialog.o dialog.cpp
  18. dialog.cpp:44:17: QtGui: No such file or directory
  19. In file included from dialog.cpp:46:
  20. dialog.h:47:19: QDialog: No such file or directory
  21. In file included from dialog.cpp:46:
  22. dialog.h:51: error: expected class-name before '{' token
  23. dialog.h:54: error: ISO C++ forbids declaration of `Q_OBJECT' with no type
  24. dialog.h:54: error: expected `;' before "public"
  25. dialog.h:59: error: `QRect' does not name a type
  26. dialog.h:61: error: expected `:' before "slots"
  27. dialog.h:62: error: expected primary-expression before "void"
  28. dialog.h:62: error: ISO C++ forbids declaration of `slots' with no type
  29. dialog.h:62: error: expected `;' before "void"
  30. dialog.cpp:50: error: definition of implicitly-declared `Dialog::Dialog()'
  31. dialog.cpp:50: error: declaration of `Dialog::Dialog()' throws different excepti
  32. ons
  33. dialog.h:51: error: than previous declaration `Dialog::Dialog() throw ()'
  34. dialog.cpp: In constructor `Dialog::Dialog()':
  35. dialog.cpp:51: error: `desktopGeometry' was not declared in this scope
  36. dialog.cpp:51: error: `QApplication' has not been declared
  37. dialog.cpp:51: error: `desktop' was not declared in this scope
  38. dialog.cpp:53: error: `tr' was not declared in this scope
  39. dialog.cpp:53: error: `setWindowTitle' was not declared in this scope
  40. dialog.cpp:54: error: `QScrollArea' was not declared in this scope
  41. dialog.cpp:54: error: `scrollArea' was not declared in this scope
  42. dialog.cpp:54: error: `QScrollArea' is not a type
  43. dialog.cpp:55: error: `QGroupBox' was not declared in this scope
  44. dialog.cpp:55: error: `groupBox' was not declared in this scope
  45. dialog.cpp:55: error: `QGroupBox' is not a type
  46. dialog.cpp:57: error: `QGridLayout' was not declared in this scope
  47. dialog.cpp:57: error: `gridLayout' was not declared in this scope
  48. dialog.cpp:57: error: `QGridLayout' is not a type
  49. dialog.cpp:62: error: `QLineEdit' was not declared in this scope
  50. dialog.cpp:62: error: `lineEdit' was not declared in this scope
  51. dialog.cpp:62: error: `QLineEdit' is not a type
  52. dialog.cpp:66: error: `QLabel' was not declared in this scope
  53. dialog.cpp:66: error: `label' was not declared in this scope
  54. dialog.cpp:66: error: `QLabel' is not a type
  55. dialog.cpp:70: error: `QPushButton' was not declared in this scope
  56. dialog.cpp:70: error: `button' was not declared in this scope
  57. dialog.cpp:70: error: `QPushButton' is not a type
  58. dialog.cpp:88: error: `QHBoxLayout' was not declared in this scope
  59. dialog.cpp:88: error: `layout' was not declared in this scope
  60. dialog.cpp:88: error: `QHBoxLayout' is not a type
  61. dialog.cpp:90: error: `setLayout' was not declared in this scope
  62. dialog.cpp:91: error: `Qt' has not been declared
  63. dialog.cpp:91: error: `ScrollBarAlwaysOff' was not declared in this scope
  64. dialog.cpp:95: error: `pressed' was not declared in this scope
  65. dialog.cpp:95: error: `SIGNAL' was not declared in this scope
  66. dialog.cpp:96: error: `qApp' was not declared in this scope
  67. dialog.cpp:96: error: `closeAllWindows' was not declared in this scope
  68. dialog.cpp:96: error: `SLOT' was not declared in this scope
  69. dialog.cpp:96: error: `connect' was not declared in this scope
  70. dialog.cpp:97: error: `QApplication' has not been declared
  71. dialog.cpp:97: error: expected primary-expression before "int"
  72. dialog.cpp:97: error: `workAreaResized' was not declared in this scope
  73. dialog.cpp:98: error: expected primary-expression before "int"
  74. dialog.cpp:98: error: `desktopResized' was not declared in this scope
  75. dialog.cpp:53: warning: unused variable 'setWindowTitle'
  76. dialog.cpp:54: warning: unused variable 'QScrollArea'
  77. dialog.cpp:55: warning: unused variable 'QGroupBox'
  78. dialog.cpp:57: warning: unused variable 'QGridLayout'
  79. dialog.cpp:62: warning: unused variable 'QLineEdit'
  80. dialog.cpp:66: warning: unused variable 'QLabel'
  81. dialog.cpp:70: warning: unused variable 'QPushButton'
  82. dialog.cpp:88: warning: unused variable 'QHBoxLayout'
  83. dialog.cpp:90: warning: unused variable 'setLayout'
  84. dialog.cpp:91: warning: unused variable 'ScrollBarAlwaysOff'
  85. dialog.cpp:95: warning: unused variable 'pressed'
  86. dialog.cpp:96: warning: unused variable 'qApp'
  87. dialog.cpp:96: warning: unused variable 'closeAllWindows'
  88. dialog.cpp:97: warning: unused variable 'workAreaResized'
  89. dialog.cpp:98: warning: unused variable 'desktopResized'
  90. dialog.cpp: At global scope:
  91. dialog.cpp:104: error: no `void Dialog::desktopResized(int)' member function dec
  92. lared in class `Dialog'
  93. dialog.cpp: In member function `void Dialog::reactToSIP()':
  94. dialog.cpp:114: error: `QRect' was not declared in this scope
  95. dialog.cpp:114: error: expected `;' before "availableGeometry"
  96. dialog.cpp:116: error: `desktopGeometry' was not declared in this scope
  97. dialog.cpp:116: error: `availableGeometry' was not declared in this scope
  98. dialog.cpp:118: error: `windowState' was not declared in this scope
  99. dialog.cpp:118: error: `Qt' has not been declared
  100. dialog.cpp:118: error: `WindowMaximized' was not declared in this scope
  101. dialog.cpp:118: error: `setWindowState' was not declared in this scope
  102. dialog.cpp:119: error: `setGeometry' was not declared in this scope
  103. dialog.cpp:118: warning: unused variable 'windowState'
  104. dialog.cpp:118: warning: unused variable 'WindowMaximized'
  105. dialog.cpp:118: warning: unused variable 'setWindowState'
  106. dialog.cpp:119: warning: unused variable 'setGeometry'
  107. dialog.cpp:121: error: `windowState' was not declared in this scope
  108. dialog.cpp:121: error: `Qt' has not been declared
  109. dialog.cpp:121: error: `WindowMaximized' was not declared in this scope
  110. dialog.cpp:121: error: `setWindowState' was not declared in this scope
  111. dialog.cpp:121: warning: unused variable 'windowState'
  112. dialog.cpp:121: warning: unused variable 'WindowMaximized'
  113. dialog.cpp:121: warning: unused variable 'setWindowState'
  114. dialog.cpp:124: error: `desktopGeometry' was not declared in this scope
  115. dialog.cpp:124: error: `availableGeometry' was not declared in this scope
  116. dialog.cpp:114: warning: unused variable 'QRect'
  117. dialog.cpp:124: warning: unused variable 'desktopGeometry'
  118. dialog.cpp:124: warning: unused variable 'availableGeometry'
  119. NMAKE : fatal error U1077: 'C:\MinGW\bin\g++.EXE' : return code '0x1'
  120. Stop.
  121. NMAKE : fatal error U1077: '"C:\Programmi\Microsoft Visual Studio 9.0\VC\BIN\nma
  122. ke.exe"' : return code '0x2'
  123. Stop.
To copy to clipboard, switch view to plain text mode 
i think, it's a installation problem...how can i fix it? Is there a manual about how to install Qt under win?
Regards,