Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

[SOLVED] Simulator problems



  • I'm suddenly having problems running the SDK Emulator on my openSUSE 11.4 AMD64 - SDK 1.1.2 - when trying to run a simple hello world QML app it tells me that the project name contains characters illegal for debian packages
    The name is Samegame and the path is : /home/flywheel/Dokumenter/Qt/QML/Samegame

    But it compiles

    Also when I try to run a simple "Hello World" Qt GUI App (The form containing one label) the qemu simulator exits with an error (1) - also here it compiles - but the Maemo simulator exits.

    The project has been created via the Creator guide.

    The output from the Qt GUI App run

    @Running build steps for project testing...
    Configuration unchanged, skipping qmake step.
    Starting: "/usr/bin/make" -w
    make: Går til katalog '/home/flywheel/Dokumenter/Qt/Projects/testing/testing-build-maemo'
    make: Ingenting at gøre for 'first'.
    make: Forlader katalog '/home/flywheel/Dokumenter/Qt/Projects/testing/testing-build-maemo'
    The process "/usr/bin/make" exited normally.
    Creating package file ...
    Package Creation: Running command '/opt/QtSDK/Maemo/4.6.2/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
    dpkg-buildpackage: source package testing
    dpkg-buildpackage: source version 0.0.1
    dpkg-buildpackage: source changed by Peter Jespersen flywheel@unknown
    dpkg-buildpackage: host architecture armel
    debian/rules build
    dh_testdir

    qmake PREFIX=/usr# Uncomment this line for use without Qt Creator

    touch configure-stamp
    dh_testdir

    Add here commands to compile the package.

    /usr/bin/make # Uncomment this line for use without Qt Creator

    #docbook-to-man debian/testing.sgml > testing.1
    touch build-stamp
    debian/rules binary
    dh_testdir
    dh_testroot
    dh_clean -k
    dh_installdirs

    Add here commands to install the package into debian/testing.

    /usr/bin/make INSTALL_ROOT="/home/flywheel/Dokumenter/Qt/Projects/testing/testing-build-maemo"/debian/testing install
    make[1]: Entering directory /home/flywheel/Dokumenter/Qt/Projects/testing/testing-build-maemo' install -m 755 -p /home/flywheel/Dokumenter/Qt/Projects/testing/testing/testing.desktop /home/flywheel/Dokumenter/Qt/Projects/testing/testing-build-maemo/debian/testing/usr/share/applications/hildon/ strip /home/flywheel/Dokumenter/Qt/Projects/testing/testing-build-maemo/debian/testing/usr/share/applications/hildon/testing.desktop strip: /home/flywheel/Dokumenter/Qt/Projects/testing/testing-build-maemo/debian/testing/usr/share/applications/hildon/testing.desktop: File format not recognized make[1]: [install_desktopfile] Error 1 (ignored) install -m 755 -p /home/flywheel/Dokumenter/Qt/Projects/testing/testing/testing.png /home/flywheel/Dokumenter/Qt/Projects/testing/testing-build-maemo/debian/testing/usr/share/icons/hicolor/64x64/apps/ strip /home/flywheel/Dokumenter/Qt/Projects/testing/testing-build-maemo/debian/testing/usr/share/icons/hicolor/64x64/apps/testing.png strip: /home/flywheel/Dokumenter/Qt/Projects/testing/testing-build-maemo/debian/testing/usr/share/icons/hicolor/64x64/apps/testing.png: File format not recognized make[1]: [install_icon] Error 1 (ignored) install -m 755 -p "testing" "/home/flywheel/Dokumenter/Qt/Projects/testing/testing-build-maemo/debian/testing/opt/testing/bin/testing" strip "/home/flywheel/Dokumenter/Qt/Projects/testing/testing-build-maemo/debian/testing/opt/testing/bin/testing" make[1]: Leaving directory/home/flywheel/Dokumenter/Qt/Projects/testing/testing-build-maemo'
    sed 's:Exec=.*:Exec=/opt/testing/bin/testing:' /home/flywheel/Dokumenter/Qt/Projects/testing/testing-build-maemo/debian/testing/usr/share/applications/hildon/testing.desktop > /home/flywheel/Dokumenter/Qt/Projects/testing/testing-build-maemo/debian/testing/usr/share/applications/hildon/testing.desktop.sed || echo -n
    mv /home/flywheel/Dokumenter/Qt/Projects/testing/testing-build-maemo/debian/testing/usr/share/applications/hildon/testing.desktop.sed /home/flywheel/Dokumenter/Qt/Projects/testing/testing-build-maemo/debian/testing/usr/share/applications/hildon/testing.desktop || echo -n
    dh_testdir
    dh_testroot
    dh_installchangelogs
    dh_installdocs
    dh_installexamples
    dh_installman
    dh_link
    dh_strip
    dh_compress
    dh_fixperms
    dh_installdeb
    dh_shlibdeps
    dpkg-shlibdeps: warning: dependency on libQtDBus.so.4 could be avoided if "debian/testing/opt/testing/bin/testing" were not uselessly linked against it (they use none of its symbols).
    dpkg-shlibdeps: warning: dependency on libQtXml.so.4 could be avoided if "debian/testing/opt/testing/bin/testing" were not uselessly linked against it (they use none of its symbols).
    dpkg-shlibdeps: warning: dependency on libpthread.so.0 could be avoided if "debian/testing/opt/testing/bin/testing" were not uselessly linked against it (they use none of its symbols).
    dh_gencontrol
    dpkg-gencontrol: warning: unknown substitution variable ${misc:Depends}
    dh_md5sums
    dh_builddeb
    ar: creating ../testing_0.0.1_armel.deb
    a - debian-binary
    a - control.tar.gz
    a - data.tar.gz
    dpkg-genchanges -b >../testing_0.0.1_armel.changes
    dpkg-genchanges: binary-only upload - not including any source code
    dpkg-buildpackage: binary only upload (no source included)
    Package created.
    Error while building project testing (target: Maemo5)
    When executing build step 'Deploy to Maemo5 device'@

    Is anyone able to spot the rat ??

    Thanks in advance
    Peter



  • Funny - I uninstalled the SDK and reinstalled on my local user account - now it works.
    It still says that the qemu has exitied - but now it doesn't - thought it works very slow - and I'm perfectly able to shut it own from the maemo Emulator button in the Creator.


Log in to reply