Strange Issue with Qt SDK and Qt Creator
Hi everyone,
I am having a strange issue with Qt SDK & Creator.
I have recently received Nokia N9 and want to try creating apps for it. I already had old SDK I used for N8 but as MeeGo Harmattan Target was not available, I tried to run Updater from Qt Creator but nothing happened. So when I checked, SDKMaintenanceTool.exe was missing. I redownloaded latest SDK and ran Maintenance tool directly and installed Harmattan target and components (not Emulator) and installed all updates available. But Qt Quick was still showing that no Qt version available for Harmattan components!
So when I again tried to start updater from Qt Creator, nothing happened and when I checked, SDKMaintenanceTool.exe was missing again!
Can someone explain me what am I doing wrong, why no harmattan target is not available and why starting updater, SDKMaintenceTool.exe is getting removed?
Re: Strange Issue with Qt SDK and Qt Creator
The previous SDK does not have full release of Harmattan Target , So, Download new Qt SDK 1.1.4 : [[URL="https://www.developer.nokia.com/info/sw.nokia.com/id/da8df288-e615-443d-be5c-00c8a72435f8/Qt_SDK.html"] from here [/URL]]
Re: Strange Issue with Qt SDK and Qt Creator
Downloaded Qt SDK 1.1.2 yesterday spending more than 10 hours! Maybe wrong reference from Google. Well, downloading SDK again.
Thanks. :)
Re: Strange Issue with Qt SDK and Qt Creator
I have got all things and getting MeeGo as target but when trying to compile, I get error.
Compiler Output:
[CODE]Running build steps for project gpsmeefo...
Configuration unchanged, skipping qmake step.
Starting: "E:\qtsdk\madde\bin\make.exe" -w
make: Entering directory `/e/GPS-MeeFo/gpsmeefo'
make: Nothing to be done for `first'.
make: Leaving directory `/e/GPS-MeeFo/gpsmeefo'
The process "E:\qtsdk\madde\bin\make.exe" exited normally.
Creating package file ...
Package Creation: Running command 'e:/qtsdk/madde/bin/mad dpkg-buildpackage -nc -uc -us'.
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value:
dpkg-buildpackage: set LDFLAGS to default value:
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
which: pgp: unknown command
dpkg-buildpackage: source package gpsmeefo
dpkg-buildpackage: source version 1.2.0
dpkg-buildpackage: source changed by unknown <>
dpkg-buildpackage: host architecture armel
/sysroots/harmattan_sysroot_10.2011.34-1_slim/sysroots/harmattan_sysroot_10.2011.34-1_slim/sysroots/harmattan_sysroot_10.2011.34-1_slim/var/lib/dpkg/status: No such file or directory
dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied; aborting.
dpkg-buildpackage: warning: (Use -d flag to override.)
Packaging Error: Command 'e:/qtsdk/madde/bin/mad dpkg-buildpackage -nc -uc -us' failed.Exit code: 3
Error while building project gpsmeefo (target: Harmattan)
When executing build step 'Create Debian Package'[/CODE]
What am I doing wrong?
Re: Strange Issue with Qt SDK and Qt Creator
[code]
dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied; aborting.
[/code]
You apparently have some missing requirement in Build-Depends field (qtc_packaging/debian_harmattan/control)
edit:
looking at this: /sysroots/harmattan_sysroot_10.2011.34-1_slim/sysroots/harmattan_sysroot_10.2011.34-1_slim/sysroots/harmattan_sysroot_10.2011.34-1_slim/var/lib/dpkg/status: No such file or directory
Do you have Harmattan target completely installed? (Updater tool/Development Tools/Harmattan/Harmattan Target)
Re: Strange Issue with Qt SDK and Qt Creator
Yes, I have successfully installed target, only skipped Emulator as I already have N9 to test (suggested so by @ltomuta )
Re: Strange Issue with Qt SDK and Qt Creator
Hi! I got the same problem. On creating package step got such error: [CODE]/sysroots/harmattan_sysroot_10.2011.34-1_slim/sysroots/harmattan_sysroot_10.2011.34-1_slim/var/lib/dpkg/status: No such file or directory[/CODE]I develop under Windows using latest SDK 1.1.4 with installed Harmattan target. Has somebody resolved that issue?
Re: Strange Issue with Qt SDK and Qt Creator
I found the problem occurs if during SDK installation get some error. I post this bug at bugreports [url]https://bugreports.qt-project.org/browse/QTSDK-1198[/url]
Re: Strange Issue with Qt SDK and Qt Creator
to Habolog with the latest (Feb 2012) appearance of this
particular issue:
i had the similar issue, by being the newest harmattan
user and developer, and i managed to hack into the
problem, so here's the solution.
in Madde/madlib/ma-create-target.sh lines 299 and 300,
replace \\\ with \\\\ in subsequent tr regexps.
then execute Madde/postinstall/harmattan-postinstall.sh
harmattan target will be accessible from qt creator then,
maybe only after restart.
almost certainly dpkg on the N9 device will complain
locked (due to previous unsuccessful deployments of
test or production app), so you may also execute this on
your N9 device:
rm /var/lib/dpkg/lock
and probably also, but not necessarily:
dpkg --configure -a
from this point on, you'll have your app in N9 up and
running :)
this patch nokia developers has to include in the
repository for immediate update.
please, Habolog, once you find this resolving, feel free to
publish the result to the qtsdk bugreports thread you've
mentioned in your previous post.
thanks :)
Re: Strange Issue with Qt SDK and Qt Creator
[QUOTE=malisha;887546]
in Madde/madlib/ma-create-target.sh lines 299 and 300,
replace \\\ with \\\\ in subsequent tr regexps.
then execute Madde/postinstall/harmattan-postinstall.sh
[/QUOTE]
This doesn't work for me on Windows, anyone know what else I might have to do? Once I've edited the file and try running harmattan-postinstall.sh (either from a cygwin shell, or from a "MADDE Terminal" that was installed with the Qt SDK), I get a message "An error occurred. Press Ctrl-C to exit", but it doesn't say what the error is.
Thanks,
Miles
PS: I spent all day trying to get linux to work on this laptop so I could just develop Qt apps from linux, but I screwed up my Ubuntu install trying to disable Unity, and I can't get networking to work under Arch linux (stupid driver problems). So in the meantime I'd like to be able to write programs for my phone from Windows (my Qt program builds and executes fine on windows, but I am stuck with the above problem when trying to build for the phone).
Re: Strange Issue with Qt SDK and Qt Creator
malisha, thanks for suggestion, but how to do that in Windows? I've tried madde terminal but it failed to run that script.
Re: Strange Issue with Qt SDK and Qt Creator
I found a post that suggesting reinstalling with the offline-installer *after* manually deleting C:\QtSDK, and that did the trick, everything works now. (I had tried reinstalling without deleting C:\QtSDK, and the problem remained)