Skip to content

Mobile and Embedded

The forum for developing everything embedded: Linux, WinCE, Symbian, MeeGo... you name it.
14.1k Topics 62.6k Posts
  • 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
    695 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
  • Manual orientation setting

    2
    0 Votes
    2 Posts
    772 Views
    GianlucaG
    If you use QML/QtQuick, then just apply a rotation to the container item of your scene ( Item.rotation = 90 )
  • Plugin and EGLFS: OpenGL windows cannot be mixed with

    2
    0 Votes
    2 Posts
    3k Views
    A
    The typical approach is to instantiate an element, representing the VKB, in the application's QML code. So instead of opening a second QQuickView, the plugin provides a reusable Quick element that apps can use. The downside is of course that the application has to be aware of this and include the necessary code. Alternatively, "smart" solutions that try to figure out the QQuickWindow (e.g. through QGuiApplication::topLevelWindows) and dynamically inject some items may work too but might be much less flexible.
  • ARM - QML Tslib and Window issues

    9
    0 Votes
    9 Posts
    6k Views
    A
    Regarding issue #1, call update() on the window. (it's a slot so it should be usable from qml/javascript too) Setting the clear color merely stores the values and will not trigger rendering.
  • BeagleBone Black: Qt 5.3 fails to send datagrams in UDP

    4
    0 Votes
    4 Posts
    2k Views
    M
    It seems that on Linux you have to bind on a given interface for broadcasting packets out ot if... You can read the full story "here":http://stackoverflow.com/questions/24866807/beaglebone-black-qt-5-3-fails-to-send-datagrams-in-udp?noredirect=1#comment38645537_24866807
  • Cross Compiling on BeagleBone Black

    37
    0 Votes
    37 Posts
    16k Views
    SGaistS
    Either: Add you user to the tty group Delete /tmp/qtembedded-0 and restart your application
  • IOS, images are black

    3
    0 Votes
    3 Posts
    1k Views
    M
    They were PNG images, I had the 'mimap' option set which made all images black..
  • [SOLVED] Why QML add prefix assets: to file path

    2
    0 Votes
    2 Posts
    2k Views
    M
    looks like it's incorrect outputting; I resolve this to add prefix: "file://" at the begin of path.
  • Kinetic Scrolling on QScrollarea on Android device ..

    5
    0 Votes
    5 Posts
    6k Views
    P
    Hey every one. I figured out the problem. For some Reason the code @this->ui->scrollArea->viewport()->setAttribute(Qt::WA_AcceptTouchEvents); QScroller::grabGesture(this->ui->scrollArea->viewport(), QScroller::TouchGesture); @ doesn’t work for QScrollArea. Then I used a class called FlickCharm [blog.qt.digia.com]. It was developed by Ariya Hidayat [blog.qt.digia.com] and it is working good now. Not satisfied I tried to use the QScroller again but this time with the parameter QScroller::LeftMouseButtonGesture that is: @QScroller::grabGesture(this->ui->scrollArea->viewport(), QScroller::LeftMouseButtonGesture);@ and…. It works for Mouse Event and for Touch Event on my Samsumg Galaxy S4. Now I’m happy because I’m just using the native class QScroller and it’s working so good. I hope to help more people in the same situation. Sincerely.
  • QScreen.createSurface() and custom QWSWindowSurface issue

    2
    0 Votes
    2 Posts
    797 Views
    SGaistS
    Hi and welcome to devnet, For such a low level question, you should rather go to the interest mailing list and/or the #qt IRC channel. You'll find there Qt's developers/maintainers (this forum is more user oriented)