Skip to content

Mobile and Embedded

The forum for developing everything embedded: Linux, WinCE, Symbian, MeeGo... you name it.
14.2k Topics 62.7k Posts
  • [solved]QQmlcomponent:component is not ready

    9
    1 Votes
    9 Posts
    38k Views
    mahadinM
    @p3c0 so taaaaaaaaaaanks :) my problem solved ... :D ممنون . خدا خیرتان دهد !
  • Qt 5.5 cross compilation for Edison (Yocto)

    1
    0 Votes
    1 Posts
    672 Views
    No one has replied
  • virtual keyboard with QInputDialog

    6
    0 Votes
    6 Posts
    1k Views
    SGaistS
    Can you show how you are doing it ?
  • MessageDialog on iOS

    11
    0 Votes
    11 Posts
    6k Views
    benlauB
    @m_andrej Thanks for pointing out the problem. In fact, the mistake is not made by C&P. That is the original name of QISystemMessenger. Since the class is growthing, I have refactored the code to breakdown into multiple classes. But forgotten to rename the include guild. "#pragma once" should be fine, I just use the default header file generator from Qt Creator.
  • TextArea and Android keyboard

    textarea android keyboar
    3
    0 Votes
    3 Posts
    2k Views
    mrdebugM
    No effect in Android.
  • 0 Votes
    5 Posts
    3k Views
    W
    @t3685 Hi, yes, indeed. This was the problem. I solved ot now by creating an item, which contains a grid of "only" 36 (i.e. 6x6) elements inside the Flickable. Item { id: imageItem GridLayout { id: localGrid columns: 6 rows: 6 rowSpacing: 0 columnSpacing: 0 Repeater { model: tile1000model Image { transformOrigin: Item.Left asynchronous: true sourceSize.height: 1024 sourceSize.width: 1024 source: modelData } } } } This grid is then dynamically moved over the Flickable-area, depending on the contentX and contentY changes: onContentXChanged: updateImages(contentX, contentY) onContentYChanged: updateImages(contentX, contentY) function updateImages(x, y) { var _x = Math.floor(x / 1024) var _y = Math.floor(y / 1024) if (_x < 0) { _x = 0 } if (_y < 0) { _y = 0 } var _x2 = _x var _y2 = _y if (_x >= 2) { // not at left border _x2 -= 2 } if (_y >= 2) { // not at top _y2 -= 2 } console.log("_x", _x, "prevX", prevX, "_y", _y, "prevY", prevY) if (Math.abs(prevX - _x) > 1 || Math.abs(prevY - _y) > 1) { imageItem.y = _y2 * 1024 imageItem.x = _x2 * 1024 for (var i = 0; i < localGrid.children.length; ++i) { var ix = i % 6 + _x2 var iy = Math.floor(i / 6) + _y2 if (localGrid.children[i].source) localGrid.children[i].source = "qrc:/slices/tile1000_" + iy + "_" + ix + ".png" } prevX = _x prevY = _y } } This works fine, but when scrolling from right to left, or from bottom to top, some flickering happens, because the loading takes too much time. Well, thank you for your help.
  • 0 Votes
    5 Posts
    1k Views
    T
    I install Qt 4.3 and build its project. Then, ClassNotFoundException is no longer occured. But still app crashes. It seems that it has other causes. I'll ask in the another thread. I'm sorry for the mishap.
  • How to use QtCore and Android/iOS native UI together?

    3
    1 Votes
    3 Posts
    2k Views
    benlauB
    For Android, playground/qtqmlandroid.git - QML wrappers for native Android controls. Remarks: It is still under development. For iOS, My QuickIOS project has implemented few wrapper of native components, and simulated components: benlau/quickios
  • 0 Votes
    1 Posts
    2k Views
    No one has replied
  • My Qt Quick app crashes on iOS device [Solved]

    ios
    3
    0 Votes
    3 Posts
    2k Views
    M
    It turns out that this was error in my code. I was trying to write a file to application's current directory, which isn't possible in iOS. Surprisingly, it's possible in iOS Simulator. @mrdebug : I was able to find the problem quite easily thanks to debugger, which seems to work quite well on iOS. Perhaps try to place a breakpoint on the first line in main.cpp and see where it crashes.
  • XCB, EGL on X for Raspberry

    9
    0 Votes
    9 Posts
    8k Views
    N
    Actually I expected something like this. I heard Raspberry Pi2 official support announced for Qt5.5, so still hope The Qt will include EGL on X support for Pi2. Thanks for your support
  • 0 Votes
    4 Posts
    3k Views
    N
    So, finally I used a QGraphicsView and a QGraphicsScene in which I add my QWidget and now I can use the scroll (with the dragMode). I didn't implemented the zoom yet, but it I'm working on. Thanks a lot for your help
  • How do I change iOS status bar colour?

    ios status bar
    2
    0 Votes
    2 Posts
    1k Views
    benlauB
    You can change the status bar "style" via the UIApplication. setStatusBarStyle() function. UIApplication Class Reference Example Code: https://github.com/benlau/quickios/blob/master/qisystemutils.mm#L305
  • Hot to dectect the Screen Orientation event?

    widget
    1
    0 Votes
    1 Posts
    427 Views
    No one has replied
  • How to add a custom app icon for ios and android simultaneously !

    widget
    1
    0 Votes
    1 Posts
    423 Views
    No one has replied
  • [SOLVED]Bluetooth low energy on iOS and Android

    ble bluetooth low e ios android
    3
    0 Votes
    3 Posts
    2k Views
    N
    Thank you for answer, I'll look forwad this version !
  • Android device motox application has black screen

    1
    0 Votes
    1 Posts
    287 Views
    No one has replied
  • [Solved] Getting custom launch screen .xib to deploy properly

    ios
    3
    0 Votes
    3 Posts
    2k Views
    SGaistS
    Hi, The $$ operator is used to extract the contents of a variable, and can be used to pass values between variables or supply them to functions:
  • QScroller vs mouseReleaseEvent, quite trigger happy

    mouseevent
    1
    0 Votes
    1 Posts
    602 Views
    No one has replied
  • 0 Votes
    1 Posts
    673 Views
    No one has replied