Qtは初めてで、少し迷っています...
以下を含めたいだけです。
#include <QGeoPositionInfo>
これは私の.proファイルです:
# Add files and directories to ship with the application
# by adapting the examples below.
# file1.source = myfile
# dir1.source = mydir
DEPLOYMENTFOLDERS = # file1 dir1
symbian:TARGET.UID3 = 0xEF75C11C
# 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
# Allow network access on Symbian
symbian:TARGET.CAPABILITY += NetworkServices
# If your application uses the Qt Mobility libraries, uncomment
# the following lines and add the respective components to the
# MOBILITY variable.
QT += network
CONFIG += mobility
MOBILITY +=systeminfo
SOURCES += main.cpp mainwindow.cpp \
form.cpp \
form1.cpp
HEADERS += mainwindow.h \
form.h \
form1.h
FORMS += mainwindow.ui \
form.ui \
form1.ui
# Please do not modify the following two lines. Required for deployment.
include(deployment.pri)
qtcAddDeployment()
OTHER_FILES +=
RESOURCES += \
karim.qrc
次のエラーが発生しました
C:\Users\user\Desktop\karim\Qt\Project-build-simulator\..\Project\form1.h:3: error: QGeoPositionInfo: No such file or directory
少し迷っています、私の質問は次のとおりです:
QtモビリティはデフォルトでQtSDKに付属していますか?
はいの場合、それはコードの問題である必要がありますか?何が悪かったのか教えていただけますか?