Skip to content

Mobile and Embedded

The forum for developing everything embedded: Linux, WinCE, Symbian, MeeGo... you name it.
14.0k Topics 61.9k Posts
  • Using .dll , .lib or.so file in android project

    Unsolved
    4
    0 Votes
    4 Posts
    92 Views
    SGaistS

    You shouldn't need to switch to Linux.
    What is strange is that the error message seems to indicate that the .so file is not in the path you gave.

  • QtMultimedia is not working on iOS on builder with qmake

    Unsolved
    1
    0 Votes
    1 Posts
    49 Views
    No one has replied
  • Working example for BARCODE reader using qzxing

    Solved
    7
    0 Votes
    7 Posts
    4k Views
    N

    @lukas_kosinski and @biskero ,
    I use SCodes in my application and find:

    It works perfectly with Qt5.15.18 on Windows and Android It works perfectly with Qt6.2.13 on Windows It fails to work with Qt6.2.13 on Android.
    With the latter, I get this error: Cannot make QOpenGLContext current in a different thread
    I have left further details about this issue on the github site of SCodes.
  • 0 Votes
    17 Posts
    3k Views
    M

    @IMAN4K

    Hi,
    similar problem exists here.
    Did you eventually found a solution for the problem, that you remember?

    I run into it on a buildroot issue without desktop manager.
    Currently I suspect a problem with the interpreting system input events by QApplication.
    Seems that QGuiApplication does something different.

  • Project ERROR: Unknown module(s) in QT: charts

    Unsolved
    4
    0 Votes
    4 Posts
    93 Views
    I

    @jsulm yes sir i have installed it

  • 0 Votes
    6 Posts
    649 Views
    K

    For those who got here in desperate search of answer...

    qt_import_plugins(${PROJECT_NAME} EXCLUDE_BY_TYPE platforms)

    this disables linking of the platform plugin in Qt6::Gui, therefore solving the error.
    Because most probably you link the module in order to work with colours or something like this.
    The qt_import_plugins can be even more refined. If you are interested, just google it.

  • How to use the QtVirtualKeyboard with QWidget

    Unsolved
    6
    0 Votes
    6 Posts
    5k Views
    M

    Sorry to answer to this old topic.
    I spent days to make it work now, without success, because the Qt virtual keyboard documentation (https://doc.qt.io/qt-5/qtvirtualkeyboard-index.html) promises:

    Supports both Qt Quick and Qt Widgets applications.

    So why are they saying that, when there is no way/layer/instance to run a pure a "Qt Widgets application" with a qt virtual keyboard?

    Did it come to there mind that people eventually don't want to reinvent there c++ code to qml ?

  • How to configure QT6 static?

    Unsolved
    5
    0 Votes
    5 Posts
    1k Views
    P

    I use cmake directly and successful. This is my configure:

    cmake -S ../.. ^ -G Ninja ^ -DCMAKE_BUILD_TYPE=Debug ^ -DBUILD_SHARED_LIBS=OFF ^ -DFEATURE_static_runtime=ON ^ -DCMAKE_INSTALL_PREFIX="C:/Library/QT/6.8.1/VS2019/x64-debug-static" ^ -DBUILD_qtdoc=OFF ^ -DBUILD_qtwebengine=OFF ^ -DBUILD_qtwebview=OFF ^ -DBUILD_qtwayland=OFF ^ -DBUILD_WITH_PCH=OFF ^ -DQT_INTERNAL_CALLED_FROM_CONFIGURE:BOOL=TRUE ^ -DQT_QMAKE_TARGET_MKSPEC=win32-msvc ^ -DCMAKE_C_COMPILER=cl ^ -DCMAKE_CXX_COMPILER=cl ^ -DQT_BUILD_TESTS=FALSE ^ -DQT_BUILD_EXAMPLES=FALSE ^ -DFEATURE_cxx20=OFF ^ -DFEATURE_cxx2b=OFF ^ -DFEATURE_ssl=ON ^ -DINPUT_openssl=linked ^ -DFEATURE_system_zlib=ON ^ -DFEATURE_system_sqlite=ON ^ -DINPUT_libpng=system ^ -DINPUT_libjpeg=system ^ -DINPUT_freetype=system ^ -DINPUT_harfbuzz=system ^ -DINPUT_pcre=system ^ -DINPUT_doubleconversion=system ^ -DINPUT_webp=system ^ -DINPUT_tiff=system ^ -DFEATURE_icu=ON ^ -DFEATURE_gif=ON ^ -DFEATURE_ico=ON ^ -DFEATURE_vulkan=OFF ^ -DFEATURE_xcb=OFF ^ -DFEATURE_egl=OFF ^ -DFEATURE_libudev=OFF ^ -DFEATURE_slog2=OFF ^ -DFEATURE_dbus=OFF ^ -DCMAKE_CXX_STANDARD=17 ^ -DCMAKE_C_STANDARD=11 ^ -DCMAKE_EXE_LINKER_FLAGS="brotlicommon.lib brotlidec.lib brotlienc.lib bz2d.lib deflatestatic.lib libsharpyuv.lib lzma.lib rpcrt4.lib usp10.lib"

    The key should be to specify libs using CMAKE_EXE_LINKER_FLAGS

  • QtMultimedia is not working on iOS-Simulator

    Unsolved
    5
    0 Votes
    5 Posts
    166 Views
    R

    I've got the same problem and this is with the qmlvideo example.
    In order to get the thing to link, I had to edit QT_OSX_ARCHITECTURES to remove the x86_64 part.
    It's a bit of a hack because it's built into some part of the default configuration.

    But when I try to deploy it, I get "Application install on simulator failed. Bundle path does not exist."

    I have no idea how to fix that one.

  • Qt on Harmony OS

    Unsolved
    5
    1 Votes
    5 Posts
    2k Views
    F

    You might be interested in https://wiki.qt.io/Qt_for_OpenHarmony(portal)

  • 0 Votes
    1 Posts
    31 Views
    No one has replied
  • 0 Votes
    1 Posts
    41 Views
    No one has replied
  • 0 Votes
    3 Posts
    114 Views
    O

    @TheoSys
    Check out this bug report: https://bugreports.qt.io/browse/QTBUG-130576

  • Filtering in socketcan communication

    Solved
    3
    0 Votes
    3 Posts
    103 Views
    D

    @SGaist I also tried 0x0000032F, but without result, so I thought that I something do not understand .

    Filtering works properly when I comment below line:
    filter.type = QCanBusFrame::RemoteRequestFrame;

  • QWebChannel memory leak backtrace Qt 6.5.3

    Unsolved
    2
    0 Votes
    2 Posts
    74 Views
    Axel SpoerlA

    arm32 is not supported. My money rides on a toolchain bug: We’re testing webchannel with a sanitizer and I haven’t seen a leak in 6.5.3.

  • 0 Votes
    1 Posts
    53 Views
    No one has replied
  • placing Item over WebView in Android

    Solved
    2
    1 Votes
    2 Posts
    95 Views
    S

    at the end, only thing i figure out I can do is place an item (image/svg/etc) to the webpage via JS, something like:

    onLoadingChanged: (status) => { if (!loading) { const jsCode = `const img = document.createElement('img'); img.src = 'https_//www.google.com/image.jpg'; // note, some pages have security that wont allow images which is not from their domain... to me best oslution is not to create img here but svg which jas no link to the image, but its draw via JS img.alt = 'Example Image'; img.style.position = 'fixed'; // absolute / relative, etc img.style.width = '20px'; img.style.height = '20px'; img.style.top = '20px'; img.style.left = '20px'; img.style.zIndex = '999999'; // to make sure its always topmost document.body.appendChild(img); img.addEventListener('click', function() { window.location.href = 'https://www.google.com'; });`; webview.runJavaScript(jsCode); } }
  • Qt 6,6,3 android problem

    Unsolved
    10
    0 Votes
    10 Posts
    208 Views
    Q

    I deleted the command-line tools and reinstalled them, and the issue was resolved

  • Setting up StoreKit 2 test environment with CMake. How?

    Unsolved
    2
    0 Votes
    2 Posts
    67 Views
    SGaistS

    Hi,

    You need to give more details.
    What exactly do you have to do every time ?

  • 0 Votes
    3 Posts
    890 Views
    P

    I had been having the same issue except using an iMX8 som. Using eglfs_kms platform plugin and setting QT_QPA_EGLFS_KMS_ATOMIC=1 seems to prevent any intermediate writes to the framebuffer. No more flicker before application startup.