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
  • Qt for Android

    Unsolved
    4
    0 Votes
    4 Posts
    644 Views
    J.HilkJ
    @comet91-0 you need to either install the precompiled Qt-libs for android (from the online installer) or compile it yourself.
  • b2qt-embedded-qt5-image fails to build for intel-corei7-64

    Solved
    5
    0 Votes
    5 Posts
    781 Views
    B
    I ran the bitbake process a second time, and now it succeeded. I guess that some interruptions of the first build process somehow led to inconsistent build caches. For example git-lfs was missing (but this was detected right at the beginning of the build process, so I don‘t think this was the culprit). So I went through the b2qt build instructions once again. But this time I updated the required software packages using $> sudo apt-get install gawk curl git-core diffstat unzip p7zip-full texinfo gcc-multilib build-essential chrpath libsdl1.2-dev xterm gperf bison g++-multilib This resulted in some software packages being added and some existing being upgraded I ran bitbake from a virtual console I am running xubuntu 16.04 LTS and recently my desktop sessions sometime have been closed, when bitbake ran for a while. So I decided not to run bitbake from a GUI terminal, but from a virtual text console. I created a new build environment from scratch I created a new directory for the b2qt build environment and ran the b2qt-init-build-env script from there. So I was sure there was no old stuff laying around. As already said, „$> bitbake b2qt-embedded-qt5-image“ then successfully built the image. Problem solved.
  • Is there a way to test different android setups in parallel?

    Solved android change toolkit
    5
    0 Votes
    5 Posts
    703 Views
    K
    @J-Hilk Yes, I can start two instances of creator and use different settings for Android devices. Not really comfortable, but it is working.
  • QTCreator for QT 5.12 LTS?

    Moved Unsolved
    10
    0 Votes
    10 Posts
    2k Views
    J.HilkJ
    @Amin-Ji sudo apt-get install qtcreator after installation you may(or may not ) need to make a 5.12 kit. Changes are it's automatically detected as well
  • Android deployment... how to deploy images for app to load

    Unsolved
    4
    0 Votes
    4 Posts
    714 Views
    raven-worxR
    @dogbear said in Android deployment... how to deploy images for app to load: It's better if I can just load the images from disk at runtime. and much slower. Anyway you can add the images to the assets folder and access them (even out of QML iirc) with an asset:// url https://community.kde.org/Necessitas/Assets The assets folder can be found in the path you specified via ANDROID_PACKAGE_SOURCE_DIR qmake variable
  • How to use android location manager for extensions?

    Solved android location
    3
    0 Votes
    3 Posts
    1k Views
    K
    @raven-worx OK, thanks. That seems to work.
  • detecting status ("on"/"off") of location services

    Unsolved location qtpositioning android
    4
    0 Votes
    4 Posts
    1k Views
    Pablo J. RoginaP
    @morte said in detecting status ("on"/"off") of location services: This is brobably Qt bug I'd call it working as designed, although the design could differ from your expectations :-) Seriuosly, I guess you can post a feature request to ask for the error status to be cleared once positioning data resumes. For the time being, I guess you need to stop checking for error status once you resume receiving data, or you could even emit a signal of your own once you know data is back again.
  • failed to cross compile opencv with qt5

    Unsolved
    2
    0 Votes
    2 Posts
    849 Views
    SGaistS
    Hi and welcome to devnet, If you can't get one pre-built, then you first have to cross-compile Qt for your target architecture.
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    9 Views
    No one has replied
  • reading barcode from barcode scanner

    Solved androi
    13
    0 Votes
    13 Posts
    9k Views
    ekkescornerE
    Some years ago I implemented Barcode Scanner for BlackBerry 10 using Bluetooth SPP. Now my customers switched to Android / iOS and I was looking HowTo implement Barcode Scanners. BT SPP only works on Android, but not on iOS Using Barcode Scanners as Keyboard you must be in a TextField. I tried to immediately hide the virtual keyboard - works, but there's a short flicker when Keyboard comes up and went away Some Barcode Scanners have a special SDK - in most cases only for for Android Then I found out that some vendors of Barcode Scanners (per ex. GeneralScan) also provide a BT LE API. That's cool because BT LE works on Android and iOS There's no default GATT profile for Barcode Scanners using BT LE, so you must know the custom Service UUID and Characteristic UUID I added this for GeneralScan to my Qt BT LE Example App at github (https://github.com/ekke/ekkesBTLEexample) As soon as Qt 5.12.1 is out I'll also update the Apps at Google Play Store and Apple App Store Over all it works great: connect to the BT LE Device look for the Custom Service UUID subscribe to NOTIFY Characteristic Now you can listen to the Barcodes read from Barcode Scanner via BT LE without the need to have focus at Textfield. I'm just implementing this into three Customer Apps on Android / iOS When this is finished I'll create another Example at Github to scan EAN13 Barcodes and lookup for the product from web, so you have a kind of real-life-app-experience Next step is to connect a mobile (Barcode) Printer via BT LE. It's the same as for Barcode Scanner: no default GATT profile, but some vendors provide a BT LE API. will implement Barcode printing for REGO and ZEBRA printers will take some weeks, then I'll add to my BT LE example App and also create another example app to print a specific Barcode to rename a GeneralScan Barcode Scanner. My customer needs such a printer to make it easy to manage the Scanner Names to distinguish them. (In the morning there are 20 employees connecting their Android Phone to Barcode Scanner) Most difficult part to implement BT LE Barcode Scanners / Mobile Printers was to get the infos about the custom Service UUIDs and Characteristic UUIDs and How data was sent to / read from BT LE device. Vendors have SDKs for native Android and native iOS, but I don't want to use them because I want to implement all in one x-platform Qt BT LE App with pure C++/QML ;-)
  • Using QProcess for launching linux commands

    Unsolved
    2
    0 Votes
    2 Posts
    461 Views
    aha_1980A
    @danmar94 you need to verify that your Qt was build with QProcess support. It might be disabled in the configuration when Qt was built.
  • Set Android build type

    Unsolved
    3
    0 Votes
    3 Posts
    549 Views
    A
    The size is not an issue but I have different versions of the app with different application ids, icons, splash screens etc. I could create these in the build.grade but there is no way to specify which build type I want to use from qt creator
  • How to get Bluetooth unique mac address ?

    Unsolved
    5
    0 Votes
    5 Posts
    1k Views
    S
    Thanks for your reply @sierdzio , Yes android doesn't give MAC address it was removed programmatic access after android 6.0.
  • 0 Votes
    4 Posts
    864 Views
    SGaistS
    Take a look at this thread.
  • Help in creating custom MediaPlayer component

    Unsolved qml objective-c cpp mediaplayer ios
    12
    0 Votes
    12 Posts
    3k Views
    SGaistS
    Then study the gstreamer implementation for example and start from there. The pattern is to have a "session class" that does the work and then provide all the interfaces you support that will be using said session class.
  • Using iOS System-Icons

    Unsolved
    4
    0 Votes
    4 Posts
    589 Views
    SGaistS
    This Stack Overflow answer might be good starting point.
  • Read Mifare Card in Android

    Unsolved
    3
    1 Votes
    3 Posts
    751 Views
    T
    Yes, I can read this card correctly, with balances... So, I know my smartphone is able to reading the Mifare Card... But I can not find any example/sample code in C++/Qt to reading this kind of card. So I decided to post this question on this forum.
  • QListWidgetItem is not drawn correctly

    Unsolved
    7
    0 Votes
    7 Posts
    765 Views
    SGaistS
    What version of Qt are you using ? On what platform ? Can you provide a minimal compilable example that shows that behaviour ?
  • QT BLE stack - feature request extend QT API to support LE secure connection

    Unsolved
    2
    0 Votes
    2 Posts
    360 Views
    SGaistS
    Hi, Same applies as what was already said in your other thread.
  • MYSQL DRIVER ANDROID

    Unsolved
    4
    0 Votes
    4 Posts
    781 Views
    Pablo J. RoginaP
    @edoardo.videx Internet seach is your friend... it looks like there was (is?) a bug with out-of-tree build of SQL plugins in Qt since version 5.8 see for instance QTBUG-58372 and check how a manual build could be enabled.