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
  • How are touch events propogated to QML Items

    Unsolved
    1
    0 Votes
    1 Posts
    265 Views
    No one has replied
  • 0 Votes
    3 Posts
    2k Views
    D
    @koahnig Thank you for your reply
  • Qt 5.11.2 is using "Non-SDK" interfaces, will be blocked by Android?

    Unsolved
    7
    0 Votes
    7 Posts
    2k Views
    E
    The state of the things seems to be: "Greylisted non-SDK interfaces encompass methods and fields which continue to function in Android 9, but to which we don't guarantee access in future versions of the platform." (Google) "Note that the warnings are suppressed in Qt 5.12 (the default target version is 28 and if a lower target version is set, then style extraction is disabled). The APIs in use are in the "light-grey" category, meaning that their access is permitted as long as you set the target version to 28." (Qt Company) " Is there an indication that they will be blacklisted at a later stage? If that is the plan, then we should try to make a feature request to Google. If they reject the request, then parts of or all of the style extraction code will stop working." (Qt Company)
  • XCode not building dependencies

    Unsolved
    10
    0 Votes
    10 Posts
    3k Views
    K
    That command provided by QtCreator and called automatically.. I have updated the bug-report.
  • Call C++ slot from Java

    Solved
    3
    0 Votes
    3 Posts
    3k Views
    O
    Using static C++ methods with the JNI registration interface works better for me: https://ambes-engineering.com/2018/03/22/qt-java-native-interface/
  • Qt Virtual Keyboard Settings problem

    Unsolved
    1
    0 Votes
    1 Posts
    195 Views
    No one has replied
  • libpruio & Qt

    Unsolved
    2
    0 Votes
    2 Posts
    363 Views
    SGaistS
    Hi, Do you mean link the library to your application ?
  • This topic is deleted!

    Unsolved
    3
    0 Votes
    3 Posts
    50 Views
  • Design question for application using two QT timers

    Solved
    3
    0 Votes
    3 Posts
    494 Views
    S
    Hello Eeli K, Thank you very much for your quick reply. I think your answer has solved my query. thanks :)
  • Seperate image into 4 buttons

    Solved
    7
    0 Votes
    7 Posts
    2k Views
    A
    I found the below code that work great. It divide image into 9 parts. By using it you can divide image into 4 parts as well. public Bitmap[] splitBitmap(Bitmap picture) { Bitmap scaledBitmap = Bitmap.createScaledBitmap(picture, 240, 240, true); Bitmap[] imgs = new Bitmap[9]; imgs[0] = Bitmap.createBitmap(scaledBitmap, 0, 0, 80 , 80); imgs[1] = Bitmap.createBitmap(scaledBitmap, 80, 0, 80, 80); imgs[2] = Bitmap.createBitmap(scaledBitmap,160, 0, 80,80); imgs[3] = Bitmap.createBitmap(scaledBitmap, 0, 80, 80, 80); imgs[4] = Bitmap.createBitmap(scaledBitmap, 80, 80, 80,80); imgs[5] = Bitmap.createBitmap(scaledBitmap, 160, 80,80,80); imgs[6] = Bitmap.createBitmap(scaledBitmap, 0, 160, 80,80); imgs[7] = Bitmap.createBitmap(scaledBitmap, 80, 160,80,80); imgs[8] = Bitmap.createBitmap(scaledBitmap, 160,160,80,80); return imgs; } The function takes the original bitmap as a parameter, then using the Bitmap.createScaledBitmap(picture, 240, 240, true); i created a scaled image of size 240 x 240 to split the image into equal pieces, i have created a 3 x 3 by grid, in which each image’s size is of 80 x 80. This can be changed as per your needs, but the width should be kept to 240, because all the normal android phone screens are 240 dip wide. All the bitmaps are stored in a bitmap array, and finally the function returns the array back to the calling function.
  • Licensing for Qt Embedded - Static build

    Unsolved
    19
    0 Votes
    19 Posts
    2k Views
    sierdzioS
    @kshegunov said in Licensing for Qt Embedded - Static build: @JonB said in Licensing for Qt Embedded - Static build: PS. Some related resources if you're feeling curious. Quoting from there: Instructions that refer directly to specific memory addresses sometimes execute faster, and replacing them with equivalent relative-addressing instructions may result in slightly slower execution, although modern processors make the difference practically negligible. Here we are talking about a very weak CPU with very slow memory (104 MHz RAM according to the specification). It may well prefer static builds. I'd still throw in LTO is the compiler for that CPU supports it (see link). You are, of course, absolutely right that a statistical analysis of the results is necessary for proper judgement, though.
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    27 Views
    No one has replied
  • This topic is deleted!

    Unsolved
    2
    0 Votes
    2 Posts
    21 Views
  • Using mouse as a relative position device

    Unsolved
    1
    0 Votes
    1 Posts
    280 Views
    No one has replied
  • 0 Votes
    2 Posts
    2k Views
    sierdzioS
    That warning is normal, ignore it. If your app misbehaves, search for the cause elsewhere.
  • ManualFocus on iPad (6th gen)

    Solved
    4
    0 Votes
    4 Posts
    575 Views
    ekkescornerE
    @errollgarner please add the link to the bug issue here and mark as solved.
  • linphone @ VOIP OUTGOING CALL

    Solved
    2
    0 Votes
    2 Posts
    578 Views
    jsulmJ
    @anil_arise I'm not sure how your question is related to Qt? Why don't you ask Linphone project instead?
  • Save qlabel picture, modify and reload to qlabel

    Solved
    5
    0 Votes
    5 Posts
    725 Views
    KutyusK
    Ok, I solve the problem, change the QPicture to QPixmap, and it is copyable with the copy() method :) Thanks
  • Can not play wav file on ios

    Unsolved
    3
    0 Votes
    3 Posts
    464 Views
    P
    The messages within the console output, could not help me yet. Thx!
  • 0 Votes
    6 Posts
    1k Views
    SGaistS
    See the dropping part of the Drag And Drop chapter of Qt's documentation. You should simply refuse the action in dragEnterEvent.