I get this error
.pro
Code:
# 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 = 0xE0B67361
# 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.
# CONFIG += mobility
# MOBILITY +=
QT += core gui
SOURCES += main.cpp mainwindow.cpp \
caosync.cpp
HEADERS += mainwindow.h \
FORMS += mainwindow.ui \
caosync.h
# Please do not modify the following two lines. Required for deployment.
include(deployment.pri)
qtcAddDeployment()
OTHER_FILES += \
qtc_packaging/debian_harmattan/rules \
qtc_packaging/debian_harmattan/README \
qtc_packaging/debian_harmattan/copyright \
qtc_packaging/debian_harmattan/control \
qtc_packaging/debian_harmattan/compat \
qtc_packaging/debian_harmattan/changelog
LIBS += SWInstCli
INCLUDEPATH += "C:\QtSDK\Symbian\SDKs\SymbianSR1Qt474\epoc32\include\mw"
INCLUDEPATH += "C:\QtSDK\Symbian\SDKs\SymbianSR1Qt474\epoc32\include\platform\mw"
INCLUDEPATH += "C:\QtSDK\Symbian\SDKs\SymbianSR1Qt474\epoc32\include"
Code:
:-1: Running command: C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/tools/checklib.exe stdc++ --elf C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/release/armv5/udeb/qtmain.lib
Running command: C:/QtSDK/Symbian/tools/gcce4/bin/arm-none-symbianelf-g++.exe -Wl,-Ttext,0x8000 -Wl,--no-undefined -nodefaultlibs -Wl,-shared -Wl,-Tdata,0x400000 -Wl,--default-symver '-Wl,-soname=installfile{000a0000}[e0b67361].exe' -Wl,--entry=_E32Startup -Wl,-u,_E32Startup,C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/release/armv5/udeb/eexe.lib -o C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/release/armv5/udeb/installfile.exe.sym -Wl,-Map=C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/release/armv5/udeb/installfile.exe.map @C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/build/installfile/c_57e7148a95fcff9a/installfile_exe/armv5/udeb/installfile_udeb_objects.via --start-group C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/release/armv5/udeb/usrt3_1.lib --end-group C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/release/armv5/udeb/usrt3_1.lib C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/release/armv5/udeb/qtmain.lib C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/release/armv5/lib/libstdcppv5.dso C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/release/armv5/lib/QtGui.dso C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/release/armv5/lib/QtCore.dso C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/release/armv5/lib/libpthread.dso C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/release/armv5/lib/libc.dso C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/release/armv5/lib/libm.dso C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/release/armv5/lib/euser.dso C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/release/armv5/lib/libdl.dso C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/release/armv5/lib/stdnew.dso C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/release/armv5/lib/drtaeabi.dso C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/release/armv5/lib/dfpaeabi.dso -lsupc++ -lgcc
c:/qtsdk/symbian/tools/gcce4/bin/../lib/gcc/arm-none-symbianelf/4.4.1/../../../../arm-none-symbianelf/bin/ld.exe: warning: C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/release/armv5/udeb/usrt3_1.lib(ucppinit.o) uses variable-size enums yet the output is to use 32-bit enums; use of enum values across objects may fail
C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/build/installfile/c_57e7148a95fcff9a/installfile_exe/armv5/udeb/mainwindow.o: In function `MainWindow':
C:/project/test_install/installfile/mainwindow.cpp:8: undefined reference to `SwiUI::RSWInstLauncher::RSWInstLauncher()'
C:/project/test_install/installfile/mainwindow.cpp:8: undefined reference to `SwiUI::RSWInstLauncher::RSWInstLauncher()'
C:/QtSDK/Symbian/SDKs/SymbianSR1Qt474/epoc32/build/installfile/c_57e7148a95fcff9a/installfile_exe/armv5/udeb/mainwindow.o: In function `MainWindow::on_pushButton_clicked()':
C:/project/test_install/installfile/mainwindow.cpp:94: undefined reference to `SwiUI::RSWInstLauncher::SilentInstall(TRequestStatus&, TDesC16 const&, TDesC8 const&)'
collect2: ld returned 1 exit status