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
  • "Native calls" to WinRT equivalent to QAndroidJniObject ?

    3
    1 Votes
    3 Posts
    1k Views
    J
    There are no examples because it' simply C++ code you have to write. For the battery level look at this class: https://msdn.microsoft.com/en-us/library/windows.phone.devices.power.battery.aspx Windows Store/Phone apps usually use C++/CX, an extension to C++. Probably you've seen something like: SomeClass^ object = ref new SomeClass(); That's C++/CX code, it have a little different syntax than plain C++, but every example in the web is written in C++/CX. So, where you now have your JNI-calls, put in C++/CX for WinRT. But: Qt doesn't enable the C++/CX extension by default and QtCreator have no support for C++/CX. I prefer to work with Visual Studio in this case. So, click in Visual Studio on your project --> Properties --> C++ --> General --> Consume Windows Runtime Extension --> Yes (/ZW). This will turn on the C++/CX extension for your code. Feel free to ask further questions!
  • QSoundEffect and iOS (Low Latency sound format)

    14
    0 Votes
    14 Posts
    4k Views
    SGaistS
    You should send your patch for review on gerrit
  • [Solved] Windows phone 8.1 and LocalStorage

    6
    0 Votes
    6 Posts
    3k Views
    C
    https://bugreports.qt.io/browse/QTBUG-37770
  • PopupCalendar not working on android.

    1
    0 Votes
    1 Posts
    363 Views
    No one has replied
  • [solved] webview unload causes crash

    3
    0 Votes
    3 Posts
    977 Views
    clogwogC
    bug was a duplicate and it has already been fixed in qt 5.4.1 i just downloaded 5.4.1 and on testing the problem has indeed been fixed.
  • Build Qt with X11 for arm

    9
    0 Votes
    9 Posts
    5k Views
    sierdzioS
    Woah, congratulations! I'm happy it finally works for you.
  • How to connect the WiFi by QTcpServe?

    6
    0 Votes
    6 Posts
    2k Views
    clogwogC
    bq. 1) I has study wireshark recently. But the software seems not support android and iOS. true.. you might be able to listen in promiscuous mode on your mac using wireshark ? i'm not sure if that will get around the wifi encryption though and i think promiscuous also needs a different wifi driver on your mac.. you might be out of luck then, try to contact the manufacturer though.. they might be interested..
  • How to set baud rate in bluetooth / RFCOMM?

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • I have aproblem to integrate the Libusb for Android

    2
    0 Votes
    2 Posts
    900 Views
    S
    Did you succeed in this? I am having the same problem
  • Support for Android .aar files

    1
    0 Votes
    1 Posts
    642 Views
    No one has replied
  • 0 Votes
    1 Posts
    428 Views
    No one has replied
  • Can"t play a sound (no android folder)

    2
    0 Votes
    2 Posts
    655 Views
    BlackMambaB
    No one has an idea? At laest could someone post here the expected hierarchy in the folders when you create a new Android project please ? :)
  • 0 Votes
    2 Posts
    664 Views
    SGaistS
    Hi and welcome to devnet, Out of curiosity, since these libraries are yours why use QLibrary ?
  • Phonon does not play video on raspberry

    1
    0 Votes
    1 Posts
    628 Views
    No one has replied
  • Improves usage of QPF fonts the performance?

    3
    0 Votes
    3 Posts
    717 Views
    SGaistS
    You can clone the latest qttools repo to build makeqpf
  • Problem linking qml and xmlpatterns to Zlib for iOS Simulator

    8
    0 Votes
    8 Posts
    2k Views
    SGaistS
    Yes please, looks like there's some interference from MacPorts
  • 0 Votes
    4 Posts
    4k Views
    0
    Hi, I have nearly the same problem with QT5.4.1. But it does not work for me. Here is my code: https://git.hoffmann-projects.de/?p=ds-qrpigpiocontrol.git;a=summary Can you help me? Thanks! (I use: Linux (64bit), QT5.4.1, qtcreator3)
  • Qt 5.4.1/Android:

    1
    0 Votes
    1 Posts
    785 Views
    No one has replied
  • How to use libusb for android at Qt Creatror.

    23
    0 Votes
    23 Posts
    12k Views
    S
    Right now I have in the .pro file: @ LIBS += -L/home/toad/libusb-1.0.19/android/libs/armeabi-v7a -lusb1.0 INCLUDEPATH += /home/toad/libusb-1.0.19/android/libs/armeabi-v7a\ INCLUDEPATH += /home/toad/libusb-1.0.19/libusb\ @ If I am not wrong this looks pretty much like your final .pro file but adding the final line, this final line is the one we agreed I should write in order to be able to do in de .h file: @ #include <libusb.h> @ And with this (I am pretty much 100% the paths are correct, QT even autocompletes for me the include) it keeps on giving me the error: libusb.h: No such file or directory on the other hand I don't understand either why I should include it I already made the ndk-make to build it in the libusb1.0.so that I am including in the .pro file
  • Trouble using the Bluetooth ServiceDiscoveryAgent in Android ...

    2
    0 Votes
    2 Posts
    501 Views
    T
    Bump ?? ...