Skip to content

Mobile and Embedded

The forum for developing everything embedded: Linux, WinCE, Symbian, MeeGo... you name it.
14.1k Topics 62.5k Posts
  • Javascript overwriting of prototype method leads to type error

    3
    0 Votes
    3 Posts
    892 Views
    M
    Yes, import "MCAddition.js" as MC
  • Cross Compiling Qtbase 5.3.1 for i.MX6

    5
    0 Votes
    5 Posts
    3k Views
    F
    Hi, I have found the reason for the failing linker call. In my environment CC, LD, etc. were declared as read only variables. Therefore the cross compile environment in the linux_device_pre.conf cannot be setuped correctly. linux_device_pre.conf : QMAKE_LINK = $${QMAKE_CXX} This means Qt calls normally the linker with the g++ frontend and not directly ld. Now a lot of headers files were not found and I have to add the Qt include directories to the configure call. For example why I have to add "-I include/QtCore" to the configure call? It is part of the Qt framework. Falcon83
  • Load external JAR library and FindClass

    3
    0 Votes
    3 Posts
    2k Views
    F
    I submitted the following bug: https://bugreports.qt-project.org/browse/QTBUG-40494
  • [SOLVED]QT 5.3 for Android in GPS mode don't work !!!

    4
    0 Votes
    4 Posts
    2k Views
    P
    Yes vladmir70 works for me thankyou very much !!!!!
  • 0 Votes
    2 Posts
    3k Views
    E
    [Solved] I am not sure why this it works. My iOS app folder is named TSR.app. My app folder contained a Contents/MacOS/ folder ( I build this app for both iOS and OSX) The fix was to copy the following two files from the application folder root into the subfolder named /Contents/MacOS as shown in the tree below. Info.plist PkgInfo Here is what my Qt5.2 build directory looked like. @ build-tsr-iphoneos_clang_Qt_5_2_1_for_iOS-Debug ├── Debug-iphonesimulator    └── TSR.app ├── Contents │   ├── Info.plist │   ├── MacOS │   └── PkgInfo ├── Default-568h@2x.png ├── Info.plist ├── PkgInfo └── TSR @
  • 0 Votes
    8 Posts
    3k Views
    O
    Report your issue to developer..
  • How to get activity result back to C++ using JNI in Qt 5.2.1??

    1
    0 Votes
    1 Posts
    672 Views
    No one has replied
  • Deploy to windows embedded

    1
    0 Votes
    1 Posts
    464 Views
    No one has replied
  • All my QML applications won't get rotated properly on Android

    5
    0 Votes
    5 Posts
    2k Views
    A
    [quote author="gabrieltb" date="1406310520"]I apologize for my lazy answer. What I meant is that you can try using relative values for width and height. @width: Screen.width height: Screen.height@ Also, take a look "here":http://qt-project.org/doc/qt-5/scalability.html You'll find a section talking about screen orientation.[/quote] Worked! Thank you so much budd :)
  • QQuickView problem ios transparency

    3
    0 Votes
    3 Posts
    1k Views
    E
    Hi, QquickWidget not works, the same problem... on iOS the screen goes black. EDM
  • Is console app supported on android?

    2
    0 Votes
    2 Posts
    2k Views
    SGaistS
    Hi, IIRC you need to add @QT += gui@ to your pro file. It might look counter intuitive but currently the platform plugin containing all the low level stuff that is needed is there.
  • [SOLVED] QT on Android: Where to save data, eg. setting or highscore list

    8
    0 Votes
    8 Posts
    4k Views
    SGaistS
    Yeah… I misread high score, I thought you wanted to provide a mean to modify some aspect of your game for testing...
  • Bits/c++config.h missing

    7
    0 Votes
    7 Posts
    15k Views
    E
    Success!! I have a Qt 5.3.1 "hello world" widget app finally running on an Android simulator. In summary, do not bother with developing under Ubuntu 64-bit. I expect it could be made to work but not worth the effort to me. Qt Android Development Environment: Ubuntu Gnome 14.04 32-bit ( I failed using 64-bit Ubuntu ) Qt 5.3.1 JDK: /usr/lib/jvm/java-6-openjdk-i386 ( Do not use Java 7 ) SDK: /home/edward/android/adt-bundle-linux-x86-20140702/sdk NDK: /home/edward/android/android-ndk-r10 After installing all package updates I added one additional SDK. Eclipse->Android SDK Manager: Android 3.2 (API 13)->SDK Platform Installed Android simulators are a pain. The default settings often will not work. They are slow and cumbersome. Simulator Settings; AVD: nexus7-api-20armeabi-v7a ** Target: Android 4.4W - API Level 20 ** Android Wear ARM (aremabi-v7a) Hardware keyboard ** Skin: No Skin ** RAM: 1024 ( If I made any bigger the simulator would not run ) ** VM Heap: 32 ** Internal Storage: 200 MiB ** SD Card: Size: 1024 MiB ** Enmlation Options: (none) I thought I would try Qt 5.3.1 once again. This time when I installed, I did not try selecting Android x86 or Android armv5 as doing so seemed to break the Qt 5.3.1 installer under Ubuntu 64-bit. This may have been due to a missing 32-bit dependency under Ubuntu 64-bit. Anyway all I wanted was the default gcc and Android armv7 anyway qt-opensource-linux-x86-android-5.3.1.run I no longer needed to manually add the following build environment variable fro my Qt project: ANDROID_TARGET_ARCH There is nothing Android specific in my Qt project file. I also removed the INCLUDEPATH and LIBS from my Qt project file: @ #INCLUDEPATH += $$(ANDROID_NDK_ROOT)/sources/cxx-stl/gnu-libstdc++/$$(ANDROID_NDK_TOOLCHAIN_VERSION)/libs/armeabi-v7a/include #LIBS += -L$$(ANDROID_NDK_ROOT)/sources/cxx-stl/gnu-libstdc++/$$(ANDROID_NDK_TOOLCHAIN_VERSION)/libs/armeabi @ I hope this may help some other Android newbie. -Ed
  • Input devices auto detection

    3
    0 Votes
    3 Posts
    1k Views
    E
    [quote author="SGaist" date="1406240153"]Hi and welcome to devnet, AFAIK, no. However I'd advise you to also post that question of the interest mailing list. You'll find there Qt's developers/maintainers (this forum is more user oriented)[/quote] Thank you, SGaist, I'll try.
  • [solved]Why QFileInfo.created(); is invalid in Android?

    5
    0 Votes
    5 Posts
    1k Views
    SGaistS
    Nice you found out and thanks for sharing. Can you also please update the thread title prepending [solved] so other forum users may know a solution has been found :)
  • XMLHttpRequest not working properly on android with https

    1
    0 Votes
    1 Posts
    784 Views
    No one has replied
  • QtSvg ECMAscript support

    2
    0 Votes
    2 Posts
    694 Views
    SGaistS
    Hi and welcome to devnet, The text has moved, search for "Rendering SVG files" and you'll find it again. However it has not changed. IIRC, If you want a full-blown svg parser you would need to use QtWebKit
  • [Solved] QML Image not loading over http

    4
    0 Votes
    4 Posts
    1k Views
    SGaistS
    Nice you found out and improved your code ! Happy coding !
  • [install_target] Error 5 when compiling android application

    1
    0 Votes
    1 Posts
    971 Views
    No one has replied
  • 0 Votes
    2 Posts
    913 Views
    SGaistS
    Hi, IIRC since Qt for iOS is static, you need to tell qmake to link to the static multimedia plugin(s) like e.g. libqtmedia_audioengine