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
  • 0 Votes
    2 Posts
    8k Views
    K
    Solved by: adb kill-server sudo cp ~/Android/Sdk/platform-tools/adb /usr/bin/adb sudo chmod +x /usr/bin/adb adb start-server thanks to this
  • how to make a toplevel window on android ?

    Unsolved android c++
    7
    0 Votes
    7 Posts
    1k Views
    T
    it seems that i can achieve this through what android developpers call system_overlay i still don't know if i can do it with c++ i found that something like this may exist for QML https://doc.qt.io/qt-5/qml-qtquick-controls2-overlay.html?fbclid=IwAR3aAt6Lj6nVc5drVgLxk9tJ8-jXQS--ZOy2aPsnjoxvqA3L84SfImhVmtM#details
  • Upgraded to Qt 6 and Android Extras is gone

    Unsolved
    11
    1 Votes
    11 Posts
    5k Views
    H
    Thank you @ekkescorner and @KroMignon Seems like 6.2 will be the solution for many related problems.
  • QT QCUSTOM plot flickering problem

    Unsolved
    21
    0 Votes
    21 Posts
    5k Views
    SGaistS
    You should rather concentrate on actual real data or at least use realistic test data. Using just two tables does not reflect reality and what you will get from your device.
  • 0 Votes
    2 Posts
    219 Views
    No one has replied
  • Error while deploying project (QT for Android)

    Unsolved
    1
    0 Votes
    1 Posts
    308 Views
    No one has replied
  • 0 Votes
    1 Posts
    508 Views
    No one has replied
  • Not Able to Use QAndroidJniObject,QAndroidJniEnvironment,QtAndroid in a Project

    Unsolved
    7
    0 Votes
    7 Posts
    2k Views
    KroMignonK
    @Aayushi If you want to compile for Android, you have to select an Android Qt Kit. As far as I can see, you are using "Desktop Qt 5.15.2 MinGW" kit not "Android Qt 5.15.2", so you are compiling for Windows not Android
  • 0 Votes
    30 Posts
    16k Views
    T
    a solution i found is to remove only the Qt::Sheet flag and you can let the other Qt::FramelessWindowHint and Qt::Popup with no problem
  • Licensing

    Unsolved
    9
    0 Votes
    9 Posts
    799 Views
    jsulmJ
    @Isaach The open source licenses usually do not matter for tools. GCC for example is licensed under more restrictive GPL but can be used for open source and commercial (closed source) projects.
  • [Interest] How to add *.appex (Extension App) to QT-ios Project.

    Unsolved
    3
    0 Votes
    3 Posts
    525 Views
    M
    I found a way: In Xcode remove the line "-Wl,-e,_qt_main_wrapper" from "Build Settings / Other linker flags" on the project and on all the targets. Then add back this line only on the main app target. Rebuild all.
  • How change background OUTSIDE application window in Android?

    8
    0 Votes
    8 Posts
    2k Views
    T
    found it finally :D u need to add add this android:theme="@android:style/Theme.Translucent" to <application...> section of AndroidManifest.xml. then add this to your class: this->setPalette(Qt::transparent); source : https://bugreports.qt.io/browse/QTBUG-57394 thx @Gourmet a lot
  • how to fix QT Project ERROR: Unknown module(s) in QT: charts

    Solved
    14
    0 Votes
    14 Posts
    17k Views
    S
    @jsulm thank you sir
  • Qt OpcUa Server Deployment Error

    Unsolved
    1
    0 Votes
    1 Posts
    599 Views
    No one has replied
  • Problems with running Stand-Alone OPC UA Server on Raspberry Pi 4

    Solved
    6
    0 Votes
    6 Posts
    819 Views
    M
    I solved the problem by myself changing two things: Changing Pro-File: TEMPLATE = app INCLUDEPATH += \ $$PWD/../../../../raspi/qtopcua/src/plugins/opcua/open62541 \ $$PWD/../../../../raspi/sysroot/usr/include DEPENDPATH += INCLUDEPATH QT += core gui QT += opcua QT += opcua-private greaterThan(QT_MAJOR_VERSION, 4): QT += widgets CONFIG += c++11 # You can make your code fail to compile if it uses deprecated APIs. # In order to do so, uncomment the following line. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 qtConfig(open62541):!qtConfig(system-open62541) { include($$PWD/../../../../raspi/qtopcua/src/3rdparty/open62541.pri) } else { QMAKE_USE_PRIVATE += open62541 } SOURCES += \ main.cpp \ simulationserver.cpp \ $$PWD/../../../../raspi/qtopcua/src/plugins/opcua/open62541/qopen62541utils.cpp \ $$PWD/../../../../raspi/qtopcua/src/plugins/opcua/open62541/qopen62541valueconverter.cpp HEADERS += \ simulationserver.h\ FORMS += \ simulationserver.ui TRANSLATIONS += \ OpcUa_Server_RasperryPi4_en_GB.ts # Default rules for deployment. qnx: target.path = /tmp/$${TARGET}/bin else: unix:!android: target.path = /home/pi/$${TARGET}/bin !isEmpty(target.path): INSTALLS += target Changing the server-main class type from QWidget to QObject Old Code: Simulationserver::Simulationserver(QWidget *parent) : QMainWindow(parent) New Code: Simulationserver::Simulationserver(QObject *parent) : QObject(parent)
  • How to improve performance of scrolling image viewer ?

    Solved
    9
    0 Votes
    9 Posts
    1k Views
    J.HilkJ
    @Qt-embedded-developer we are talking in circles here! use scaled down lower res thumbnails
  • QVideoWidget black window

    multimedia qt5 video
    3
    1 Votes
    3 Posts
    2k Views
    S
    @mehmety888, this thread is over 2 years old. If they did they would of said they did find a solution. By the way you mean found not find.
  • What is way to show popup on video ?

    Solved
    2
    0 Votes
    2 Posts
    333 Views
    Q
    @Qt-embedded-developer to show popup on video we need to use FrambufferLayerEnable(false) and player->stopPipelineWatch() and on close event of popup we need to use FrambufferLayerEnable(true) and player->watchPipeline(player->m_pipeline) to gain again at same state.
  • Static-linking of libraries to Qt application

    Unsolved
    9
    0 Votes
    9 Posts
    3k Views
    jsulmJ
    @Lavanya said in Static-linking of libraries to Qt application: How to change the .so files to .a for static linking i am not getting You have to build all dependencies as static libs. Static linking is not an easy task, you should really be carefull whether you want to do this. Instead of static linking you could deploy your app to get a package containing your app and needed libs. See https://doc.qt.io/qt-5/linux-deployment.html
  • Downloading data from Web URL (For Android)

    Unsolved
    4
    0 Votes
    4 Posts
    1k Views
    S
    Here is a manual fix for this issue. https://forum.qt.io/topic/123668/manual-fix-for-org-qtproject-qt5-android-network-qtnetwork-class-not-found