Skip to content

Mobile and Embedded

The forum for developing everything embedded: Linux, WinCE, Symbian, MeeGo... you name it.
14.1k Topics 62.3k Posts
  • Qt Camera example doesn't work on Android

    13
    0 Votes
    13 Posts
    7k Views
    P
    So what is the difference between the Widget camera example and the declarative-camera example? I've tried both v5.3 (?) and on a nexus7 the later works fine. Is it a widget vs qml thing? Is there a work around for using the qml code that works in conjunction with a widget based app?
  • 0 Votes
    2 Posts
    642 Views
    SGaistS
    Hi, Please stop re-posting almost same questions. This subject is already being talked about "here":http://qt-project.org/forums/viewthread/48844/ Closing this one.
  • Qt 5.4 Beta, Windows Phone 8.1, White Screen

    1
    0 Votes
    1 Posts
    790 Views
    No one has replied
  • 0 Votes
    5 Posts
    4k Views
    M
    geiliality! [quote author="ZeAL0T" date="1385616053"][quote author="strahlex" date="1385567834"]Have you solved the problem? I get the same result on Linux.[/quote] For windows issue I've just copied qmake binary file from existing Qt MinGW distribution. So all Qt binaries was builded fine except qmake. Under Linux I haven't got this problem. Here is my configuration script for Linux: @./configure -opensource -confirm-license -prefix $PWD/qtbase -developer-build -xplatform android-g++ -nomake tests -nomake examples -android-ndk $PWD/../android-ndk-r9 -android-sdk $PWD/../android-sdk-linux -android-ndk-host linux-x86_64 -android-toolchain-version 4.8 -skip qttranslations -skip qtwebkit -skip qtserialport -skip qtwebkit-examples -DQT_COORD_TYPE=double@ And this is the build script: @export ANDROID_BUILD_TOOLS_REVISION=18.1.1 make -jgrep -c ^processor /proc/cpuinfo make module-qtsvg-all -jgrep -c ^processor /proc/cpuinfo make module-qtscripttools-all -jgrep -c ^processor /proc/cpuinfo@ Note that -jgrep -c ^processor /proc/cpuinfo just sets the number of build threads you can omit it.[/quote]
  • Font size out of control on Arm9, Linux 2.6, Qt5.3.2 QtWidgets

    1
    0 Votes
    1 Posts
    693 Views
    No one has replied
  • [SOLVED] Qt 5.4 beta on iOS - low pixmap quality

    10
    0 Votes
    10 Posts
    3k Views
    F
    Hi, It works! Thanks for your help! Just two hints in case anyone reads that Use setDevicePixelRatio after loading pixmap to QPixmap Update your app layout with size=pixmap.size()/pixelRatio Cheers Marek
  • Qt Everywhere 5.3.2 embedded LCD 480x272 and system dialogs

    1
    0 Votes
    1 Posts
    619 Views
    No one has replied
  • [SOLVED] Statically linked Qt and gfx-transformed driver

    4
    1 Votes
    4 Posts
    2k Views
    SGaistS
    That's the question I wanted to ask first but I've only thought of writing it :-D Don't worry, it's one of the useful document that's always missed when dealing with a static build of Qt Since you found out how to make it work, please update the thread title prepending solved so other forum users may know a solution has been found :)
  • Need some feed back on a Gauge widget

    1
    0 Votes
    1 Posts
    627 Views
    No one has replied
  • Paint over QVideoWidget

    9
    0 Votes
    9 Posts
    14k Views
    R
    I know it's an old thread (4 years), but others may find it through a search engine, like I did, trying to find a solution. What worked for me was to do this: Instead of using QVideoWidget, use a QGraphicsView: Create a sub-class of QGraphicsView (say, MyGraphicsView) Create a QGraphicsScene, adding to the graphics view (setScene) Create a QGraphicsVideoItem and add it to your scene (addItem) Set the player output to the graphics video created on step 3 Override paintEvent on your subclass and do your drawing Here is some sample code: @MyGraphicsView *view = new MyGraphicsView(this); QGraphicsScene *scene = new QGraphicsScene(view); QGraphicsVideoItem *item = new QGraphicsVideoItem(); view->setScene(scene); scene->addItem(item); player->setVideoOutput(item);@ Now, for the paintEvent: @void MyGraphicsView::paintEvent(QPaintEvent *e) { QGraphicsView::paintEvent(e); QPainter painter(this->viewport()); // Do your drawing. // For e.g., draw a rectangle: painter.setPen(Qt::black); painter.drawRect(10, 10, 200, 200); }@
  • [SOLVED] Include an iOS framework in QT header file

    2
    0 Votes
    2 Posts
    2k Views
    H
    I solved it by myself. in mainwindow.h i changed the method signature and removed #include <UIKit/UIKit.h> public: int bridgeMethodToCallObjectiveC(void *);
  • Drawing a line in between QVBoxLayout

    3
    0 Votes
    3 Posts
    1k Views
    H
    thanks, i got it
  • [Solved] How to Build ICU for Qt5 Webkit on ARM (iMX6)

    4
    0 Votes
    4 Posts
    3k Views
    SGaistS
    Nice ! Thanks for sharing !
  • 0 Votes
    2 Posts
    1k Views
    B
    My problem was on iosSimulator. I switched to a real iOS device and it works better, from QtCreator. Now I don't understand why Creator is not creating an xcodeproj so that I can use Xcode to see which plugins are linked in. Also I find that the latest Weather App requires Qt5.4 (uses Accessible.ignore which was introduced in 5.4, but I commented those changes out.) In general I find Quick very fragile: very sensitive to small changes in Qt versions or in your qml. I suppose because Quick is still evolving, and I'm just learning.
  • [Solved] Android: QtMultimedia Problem

    5
    0 Votes
    5 Posts
    6k Views
    M
    For me at Qt 5.4 beta again showing that problem. Though at project following lines are included but show error at android emulator but not showing any error at desktop run. qrc:///demos/maroon/content/SoundEffect.qml:45 ((null)): qrc:///demos/maroon/content/SoundEffect.qml:45: Error: Qt.createQmlObject(): failed to create object: W/Qt ( 1208): qrc:///demos/maroon/content/inline:1:1: module "QtMultimedia" is not installed
  • Project MESSAGE: warning: unknown QT

    2
    0 Votes
    2 Posts
    3k Views
    sierdzioS
    Maybe those modules are missing in your ARM build of Qt?
  • Problem rendering fonts on iOS

    2
    0 Votes
    2 Posts
    681 Views
    C
    Hi, the problem has gone with Qt 5.4 beta.
  • IOS UIWebView in QML

    15
    0 Votes
    15 Posts
    9k Views
    C
    Hi, I finally got it working. I'm using the last 5.4 beta and I did an in source build. One for each platform (iOS/Android/OSX). Thanks for your help! Robert.
  • About bluetooth for Qt5.3-beta-android

    2
    0 Votes
    2 Posts
    929 Views
    J
    Hi Liangliang Dit you succeed running a btchat between two android devices. I Tried to run btchat out of the box on a NEXUS 4 and a Galaxy ST110. Even after a BT association app connect (scanning) do not found anythings on network. Thanks J
  • Translucent backdrop in my mainwindow

    11
    0 Votes
    11 Posts
    3k Views
    H
    //How to add a picture to mainwindow below link has the answer http://stackoverflow.com/questions/4458201/unable-to-set-the-background-image-in-qt-stylesheet# In the constructor add: setStyleSheet("background-image:url(:/File/abc.png);"); where under resources, File.qrc /File/and your files.