Install QtSDK 1.2.1 with the offline installer
It seems that the developer.nokia.com site does not provide the Qt SDK installation packages any more. However, it is still possible to install the full development environment for N9 using one of the offline installation packages.
I have already set up the SDK on my Windows 7 and LInux Mint boxes. I also have one fresh installation of Windows Vista (64-bit Home Premium). This time I’m going to use the offline installer to install the SDK to the Vista box.
You can download the offline installers for windows (32/64-bit) and linux (64-bit) using the following links.
Target OS | Installation package (zipped exe file) | MD5 checksum (the exe file) |
Windows 32/64 (offline) (1.66GB) | QtSdk-offline-win-x86-v1_2_1 | ef3c33cb8c5aa3104a83cec592da8cc1 |
Linux 64 (offline) (767 MB) | QtSdk-offline-linux-x86_64-v1.2.1 | d200c6aa8684e9963d2ea4354266da3f |
First unzip the windows installer package and verify that the MD5 checksum matches (for windows you can use e.g. fciv.exe, available as a free download from Microsoft).
Next start the installer (run as administrator) and proceed.
Select the target folder and installation type. I will use the custom installation option as before.
These are the options I have used before (only harmattan selected). There is no option to install the emulator like with the online installer. However, I have not seen any real use for the emulator so that is no big deal (the simulator should be ok for most purposes). Accept the license agreement.
Select the default for the start menu shortcut.
The summary page is shown.
Click Install to start the installation.
That’s it. The Qt Creator tool can now be launched.
For testing let’s also install Git (see Installing Git for version control). Then we can create a new project easily by downloading one of the test apps from Github (select Project from Version Control>Git Repository Clone).
I’ll use the TestApp2 project.
Select the Qt simulator as target and click the play button. The simulator starts and runs the application like before (remember to change the com.nokia.extras platform from Symbian to Harmattan in the Application page of the simulator control panel).
How about running the application on N9 i.e. using the Harmattan target? I have described the basic steps already some time ago (see Using the Harmattan target). The steps are still valid except that we have a problem: the extra packages needed to enable the developer mode on N9 are no longer available as the official download site has been shut down.
Luckily there are community supported backup repositories that contain all the needed packages. All we need to do is to replace the existing repository definition with a new one. I think the easiest way to accomplish this currently is to use the OpenRepos site (see About OpenRepos). Just follow the instructions there and install the Warehouse application to the N9.
When the Warehouse app is installed we can run it and search for the package: N9 RepoMirror.
Select the package and click Enable repository. This will allow installing the package.
Next click Fetch repository info. I got one warning stating: Some parts of the cache could not be refreshed. How to refresh the cache? Maybe by rebooting? That should clear all the caches.
After reboot I got the Install option visible. And that is the final step. One more reboot is done during the installation. After that the SDK Connectivity icon appears on the application page. We are ready to proceed!
For connecting the N9 to the development PC you can either use a USB cable or an existing WLAN network. Maybe I’ll take the WLAN route this time.
In the Qt Creator we need to select Tools>Options>Linux Devices and then add a new configuration (Device with MADDE support). Give the configuration some descriptive name (e.g. Nokia N9 configuration) and specify the IP address given by the SDK Connectivity tool. Next we will need to create a pair of SSH keys and transfer the key information to the N9 using the password given by the SDK Connectivity tool (Deploy Key). Finally the connection will be tested. You should see: Device test finished successfully.
To use the new configuration in Qt Creator just go to the Projects page and click the ‘+’ sign to the right of the Simulator box (the current configuration). Select Harmattan. Activate the Harmattan box. Now we don’t need to change anything else as the emulator is not installed.
Click the play button to compile and run TestApp2 on N9. The console window contents in my case look like below. There is one X Error but I think that one we can ignore.
Seems to work just fine. And no cables needed this time. 🙂
If you ever need to uninstall the Qt SDK you can do it easily by going to the Start Menu and selecting Qt SDK > Update Qt SDK and then “Remove all components”.
Do you have files from MAC?
Or the linux will works?
Thanks again
Hi! I only have the linux and windows versions of the offline installer package. The linux version seems to work pretty well even on newer linux distributions (like e,g, Linux Mint 18.3 and 19.0).
Hallo, I found a mirror with the Mac version.
I confirm it works, preview and build!
Hola, soy Alan tu seguidor en twitter, quiero aprender a desarrollar para MeeGo
Hi Alan! I think the best way to start is to just install the QtSDK (both linux and windows versions work still fine with some small modifications). Then you can try the example apps and see how the apps are built. Also you may want to take a look at the UX guidelines: Nokia N9 UX Guidelines.
Mac OS X version can be downloaded here: https://rutracker.org/forum/viewtopic.php?t=4262590
Hi,
I tried the above sdk, it runs fine. I wanted to run the following app (https://github.com/tomsplx/qt-camera-demo) in qt simulator, but seems like simulator screen is blank/transparent. Do you have any idea if i can run it on simulator?
Thanks
Suv
Whoa! Thank you for keepeng legend alive! Btw, tried to install offline sdk on kubuntu 20.04 and got “floating point exception error (core dumped)” on launch attempt. Core log says that problem is with libQtGui.so.4.7.4. Didn’t find any solutions, so just installed qtcreator 2.5.2 in /qtcreator252. But I can’t compile any project for simulator, it gives error that it couldn’t find lib with icons (which located in Madde folder) and -rpath option needed(default -rpath locates to Simulator folder). So, I only can compile for real device with qtcreator 2.5.2. And on windows 7 and 10 I have no problems, all works as it should.
Thank you for QtSdk-offline-win-x86-v1_2_1