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.
# Add more folders to ship with the application, here
folder_01.source = qml/
folder_01.target = qml
DEPLOYMENTFOLDERS = folder_01
# Additional import path used to resolve QML modules in Creator's code model
QML_IMPORT_PATH =
symbian:TARGET.UID3 = 0xE4524EDE ##0x200594A2
symbian:TARGET.CAPABILITY += NetworkServices \
Location \
ReadUserData \
WriteUserData \
ReadDeviceData \
WriteDeviceData \
UserEnvironment
QT += script network xml
QT += gui
CONFIG += qt-components \
mobility
MOBILITY += location \
systeminfo \
messaging \
contacts \
organizer
# Smart Installer package's UID
# This UID is from the protected range and therefore the package will
# fail to install if self-signed. By default qmake uses the unprotected
# range value if unprotected UID is defined for the application and
# 0x2002CCCF value if protected UID is given to the application
#symbian:DEPLOYMENT.installer_header = 0x2002CCCF
# If your application uses the Qt Mobility libraries, uncomment the following
# lines and add the respective components to the MOBILITY variable.
# CONFIG += mobility
# MOBILITY +=
DEPLOYMENT.display_name = "India"
symbian:
{
ICON = AppIcon.svg
}
symbian:{
TARGET.EPOCHEAPSIZE = 0x2000 0x8000000
}
# The .cpp file which was generated for your project. Feel free to hack it.
SOURCES += ui_src/listmodel.cpp \
ui_src/plainitem.cpp \
main.cpp \
backend_src/api.cpp \
backend_src/connect.cpp \
ui_src/handler.cpp \
ui_src/standarditem.cpp \
ui_src/pagedata.cpp \
ui_src/detailsitem.cpp \
backend_src/messagesender.cpp \
backend_src/localstorage.cpp \
backend_src/locationmanager.cpp \
ui_src/mapview.cpp
# Please do not modify the following two lines. Required for deployment.
include(qmlapplicationviewer/qmlapplicationviewer.pri)
qtcAddDeployment()
RESOURCES += \
resources.qrc
RCC_DIR = qml
HEADERS += \
ui_src/listmodel.h \
ui_src/plainitem.h \
backend_src/api_p.h \
backend_src/api.h \
backend_src/connect_p.h \
backend_src/connect.h \
ui_src/handler.h \
ui_src/standarditem.h \
ui_src/pagedata.h \
ui_src/detailsitem.h \
backend_src/messagesender.h \
backend_src/localstorage.h \
backend_src/locationmanager.h \
ui_src/mapview.h
INCLUDEPATH += ui_src \
backend_src
# Add more folders to ship with the application, here
folder_01.source = qml/
folder_01.target = qml
DEPLOYMENTFOLDERS = folder_01
# Additional import path used to resolve QML modules in Creator's code model
QML_IMPORT_PATH =
symbian:TARGET.UID3 = 0xE4524EDE ##0x200594A2
symbian:TARGET.CAPABILITY += NetworkServices \
Location \
ReadUserData \
WriteUserData \
ReadDeviceData \
WriteDeviceData \
UserEnvironment
QT += script network xml
QT += gui
CONFIG += qt-components \
mobility
MOBILITY += location \
systeminfo \
messaging \
contacts \
organizer
# Smart Installer package's UID
# This UID is from the protected range and therefore the package will
# fail to install if self-signed. By default qmake uses the unprotected
# range value if unprotected UID is defined for the application and
# 0x2002CCCF value if protected UID is given to the application
#symbian:DEPLOYMENT.installer_header = 0x2002CCCF
# If your application uses the Qt Mobility libraries, uncomment the following
# lines and add the respective components to the MOBILITY variable.
# CONFIG += mobility
# MOBILITY +=
DEPLOYMENT.display_name = "India"
symbian:
{
ICON = AppIcon.svg
}
symbian:{
TARGET.EPOCHEAPSIZE = 0x2000 0x8000000
}
# The .cpp file which was generated for your project. Feel free to hack it.
SOURCES += ui_src/listmodel.cpp \
ui_src/plainitem.cpp \
main.cpp \
backend_src/api.cpp \
backend_src/connect.cpp \
ui_src/handler.cpp \
ui_src/standarditem.cpp \
ui_src/pagedata.cpp \
ui_src/detailsitem.cpp \
backend_src/messagesender.cpp \
backend_src/localstorage.cpp \
backend_src/locationmanager.cpp \
ui_src/mapview.cpp
# Please do not modify the following two lines. Required for deployment.
include(qmlapplicationviewer/qmlapplicationviewer.pri)
qtcAddDeployment()
RESOURCES += \
resources.qrc
RCC_DIR = qml
HEADERS += \
ui_src/listmodel.h \
ui_src/plainitem.h \
backend_src/api_p.h \
backend_src/api.h \
backend_src/connect_p.h \
backend_src/connect.h \
ui_src/handler.h \
ui_src/standarditem.h \
ui_src/pagedata.h \
ui_src/detailsitem.h \
backend_src/messagesender.h \
backend_src/localstorage.h \
backend_src/locationmanager.h \
ui_src/mapview.h
INCLUDEPATH += ui_src \
backend_src
To copy to clipboard, switch view to plain text mode
Bookmarks