hello,
i am building an application in Qtcreator i am getting the following error while making sis file. wat could be the problem ????

error: QtGui/QApplication: No such file or directory
error: QObject: No such file or directory
error: Recipe compile failed with exit code 1.

but i have included QT+=gui in my .pro file. wat could be the prob ?? thanks for any replies.

here is my .pro file for your information.

Qt Code:
  1. # Add more folders to ship with the application, here
  2. folder_01.source = qml/
  3. folder_01.target = qml
  4. DEPLOYMENTFOLDERS = folder_01
  5.  
  6. # Additional import path used to resolve QML modules in Creator's code model
  7. QML_IMPORT_PATH =
  8.  
  9. symbian:TARGET.UID3 = 0xE4524EDE ##0x200594A2
  10. symbian:TARGET.CAPABILITY += NetworkServices \
  11. Location \
  12. ReadUserData \
  13. WriteUserData \
  14. ReadDeviceData \
  15. WriteDeviceData \
  16. UserEnvironment
  17.  
  18. QT += script network xml
  19. QT += gui
  20.  
  21. CONFIG += qt-components \
  22. mobility
  23.  
  24. MOBILITY += location \
  25. systeminfo \
  26. messaging \
  27. contacts \
  28. organizer
  29.  
  30.  
  31. # Smart Installer package's UID
  32. # This UID is from the protected range and therefore the package will
  33. # fail to install if self-signed. By default qmake uses the unprotected
  34. # range value if unprotected UID is defined for the application and
  35. # 0x2002CCCF value if protected UID is given to the application
  36. #symbian:DEPLOYMENT.installer_header = 0x2002CCCF
  37.  
  38. # If your application uses the Qt Mobility libraries, uncomment the following
  39. # lines and add the respective components to the MOBILITY variable.
  40. # CONFIG += mobility
  41. # MOBILITY +=
  42.  
  43. DEPLOYMENT.display_name = "India"
  44.  
  45. symbian:
  46. {
  47. ICON = AppIcon.svg
  48. }
  49.  
  50. symbian:{
  51. TARGET.EPOCHEAPSIZE = 0x2000 0x8000000
  52. }
  53.  
  54. # The .cpp file which was generated for your project. Feel free to hack it.
  55. SOURCES += ui_src/listmodel.cpp \
  56. ui_src/plainitem.cpp \
  57. main.cpp \
  58. backend_src/api.cpp \
  59. backend_src/connect.cpp \
  60. ui_src/handler.cpp \
  61. ui_src/standarditem.cpp \
  62. ui_src/pagedata.cpp \
  63. ui_src/detailsitem.cpp \
  64. backend_src/messagesender.cpp \
  65. backend_src/localstorage.cpp \
  66. backend_src/locationmanager.cpp \
  67. ui_src/mapview.cpp
  68.  
  69. # Please do not modify the following two lines. Required for deployment.
  70. include(qmlapplicationviewer/qmlapplicationviewer.pri)
  71. qtcAddDeployment()
  72.  
  73. RESOURCES += \
  74. resources.qrc
  75.  
  76. RCC_DIR = qml
  77.  
  78. HEADERS += \
  79. ui_src/listmodel.h \
  80. ui_src/plainitem.h \
  81. backend_src/api_p.h \
  82. backend_src/api.h \
  83. backend_src/connect_p.h \
  84. backend_src/connect.h \
  85. ui_src/handler.h \
  86. ui_src/standarditem.h \
  87. ui_src/pagedata.h \
  88. ui_src/detailsitem.h \
  89. backend_src/messagesender.h \
  90. backend_src/localstorage.h \
  91. backend_src/locationmanager.h \
  92. ui_src/mapview.h
  93.  
  94. INCLUDEPATH += ui_src \
  95. backend_src
To copy to clipboard, switch view to plain text mode