[SOLVED] import com.nokia.symbian 1.1 is not recognized
I've downloaded and installed Qt SDK 1.1.4. Created a HelloWorld QML application project from wizard. I'm getting this line understroked with red:
@import com.nokia.symbian 1.1@
Since symbian components are not recognized, app is not able to run. What might be wrong here?
I'm also getting troubles running this HelloWorld on Nokia N8 device. Here is the compile output:
@Installing package "friday5.sis" on drive C:...
Installation failed: 'Incorrect dependency: Qt Quick components for Symbian has version 1.00(0), need version 1.01(0) or newer' Code: 131073; see http://wiki.forum.nokia.com/index.php/Symbian_OS_Error_Codes for descriptions of the error codes
Error while building project friday5 (target: Symbian Device)
When executing build step 'Deploy'@
What in a hell is going on here?
I'm not able even to start HeloWorld using simulator:
file:///C:/Users/Alex/Qt_projects/friday7-build-simulator-Simulator_Qt_for_MinGW_4_4__Qt_SDK__Debug/qml/friday7/main.qml:2:1: module "com.nokia.symbian" is not installed
import com.nokia.symbian 1.1
Solved now. The reason for all this madness was that SDK 1.1.4 is not installing Symbian components by default for MinGW and Symbian Anna HW. You have to install them by manually selecting those in the SDK Maintenance tool.
Thanks for this. Why isn't this turned on by default? !!!
Here is a more detailed explanation of what to do if you get module com.nokia.symbian 1.1 is not installed error described above:
- Run Maintain Qt SDK (Start>All Programs>Qt SDK>Maintain Qt SDK)
- Chooze Package Manager
- Go to APIs>Qt Quick Components for Symbian - Simulator and put the check next to Qt Quick components for Symbian - MinGW
After this it should work in Simulator
Here is the video that shows how to fix this.
Oh good. It works! Thank you
i have the same problem, but sorry, i dont have "Qt Quick components for Symbian – MinGW" in my updater...
what can i do now?
its useless to create apps without these component.
@3vmedia : As far I can see in the picture, you are have currently installed Qt Symbian Components version 1.1.2 so maybe you could try importing them using " import com.nokia.symbian 1.2 ".
thx for your response, but after changing "import com.nokia.symbian 1.1" to "import com.nokia.symbian 1.2" it is still underlined red (QML Module not found).