Skip to content

Qt Development

Everything development. From desktop and mobile to cloud. Games, tools, 3rd party libraries. Everything.
144.6k Topics 724.6k Posts
Qt 6.11 is out! See what's new in the release blog

Subcategories


  • This is where all the desktop OS and general Qt questions belong.
    84k 460k
    84k Topics
    460k Posts
    SGaistS
    Hi and welcome to devnet, This a user forum where other users answer. For immediate fixes, you should contact the Qt Company. That said, you do not provide enough information such as version of Qt you are using for Androïd. Please take a look at the corresponding requirements chapter and use the JDK, SDK and NDK specified there. The changes between NDK versions can be quite large and often break stuff for third party such as Qt.
  • Looking for The Bling Thing(tm)? Post here!
    20k 78k
    20k Topics
    78k Posts
    JKSHJ
    @Simmania said in What is best way to implement controls that render very fast?: QQuickPaintedItem (CPU based, thus probably to slow) QQuickItem + QSGGeometryNode QQuickItem + custom shaders QSGRenderNode / QRhi (probably overkill) These are all solutions that use low-level C++ code. I suggest writing some solutions in high-level QML first, as a way to get familiarized with QML and Qt Quick. This familiarity will help if you later decide you still need a solution written in C++. But before you go down the C++ route, ensure that you benchmark your QML solution. If you're not actually hitting any bottlenecks, there's no need for low-level coding. Notes: QML-defined components are automatically GPU-accelerated You can add custom sharers in QML too What is the best way to support styles? Should/can I use the QML Style system? Have a look at the new QML StyleKit: https://forum.qt.io/topic/165049/stylekit https://doc.qt.io/qt-6/qtlabsstylekit-stylekit-example.html
  • The forum for developing everything embedded: Linux, WinCE, Symbian, MeeGo... you name it.
    14k 63k
    14k Topics
    63k Posts
    stasiozS
    @stasioz said in Qt6.8.3 Android QComboBox issue: @SGaist I am using Qt 6.8.2 on debian 13. @SGaist and emulator "system-images;android-28;google_apis_playstore;x86_64". I haven't tried on a real device though. I did use Qt 6.11.1 at one time compiled from source. I tried it out on an emulator level 28 and wasn't able to click on or select on the combo box. I didn't try on real device either. All apk above are Debug build. JDK 21 NDK 27.2.12479018 Gradle 8.10 All good. QML is fun and quicker similar to MVC pattern.
  • This is a discussion space for

    • for audio / video playback and recording
    • media formats and codecs
    • camera and screen sharing functionality
    52 226
    52 Topics
    226 Posts
    T
    @Nils-Petter-Skalerud i'm aware of this ! that's why i needed to know if there's a known fix or an export maybe that resolve this without touching the qt code or at least my qml code to make it work. I'll be waiting for your respond ! i hope you'll not forget to ask the expert, this can really help me :') thank you !!
  • Have a question about Qt Creator, our cross-platform IDE, or any of the other tools? Ask here!
    8k 37k
    8k Topics
    37k Posts
    SGaistS
    Excellent ! Happy coding !
  • Your Qt just doesn't want to build? Your compiler can't find the libs? Here's where you find comfort and understanding. And help.
    10k 52k
    10k Topics
    52k Posts
    D
    You can reproduce it inside docker. I've checked out v6.12.0-beta1 tag into $PWD/qt. docker run -it --rm -v $PWD/qt:/src/qt ubuntu:22.04 bash export CMAKE_VERSION="4.3.2" export DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y \ build-essential \ perl \ python3 \ git \ ninja-build \ cmake \ ccache \ libssl-dev \ checkinstall \ libwayland-dev \ libxrandr-dev \ patchelf \ wget \ fuse3 \ pkg-config \ rsync \ libharfbuzz-dev \ libfribidi-dev \ libfontconfig-dev \ libgl1-mesa-dev \ libx11-dev \ libxext-dev \ libxfixes-dev \ libxi-dev \ libxrender-dev \ libxcb1-dev \ libx11-xcb-dev \ libxcb-glx0-dev \ libxcb-keysyms1-dev \ libxcb-image0-dev \ libxcb-shm0-dev \ libxcb-icccm4-dev \ libxcb-sync-dev \ libxcb-xfixes0-dev \ libxcb-shape0-dev \ libxcb-randr0-dev \ libxcb-render-util0-dev \ libxcb-util-dev \ libxcb-xinerama0-dev \ libxkbcommon-dev \ libxkbcommon-x11-dev \ libxcb-xinput-dev \ libegl1-mesa-dev \ libxkbfile-dev \ libxtst-dev \ libxshmfence-dev \ libxcursor-dev \ libxcomposite-dev \ libdrm-dev \ libxcb-dri3-dev \ libxcb-cursor-dev \ libxcb-res0-dev \ libdbus-1-dev \ libdbus-c++-dev \ libzstd-dev \ liblzma-dev \ libbz2-dev \ gettext \ python3-pip \ flex \ bison \ libudev-dev \ libcanberra-dev \ qpdf \ xxd \ libavcodec-extra \ libavcodec-dev mkdir /cmake-build && \ cd /cmake-build && \ git clone --depth 1 --branch v${CMAKE_VERSION} https://github.com/Kitware/CMake.git && \ cd CMake && \ mkdir build && \ cd build && \ cmake .. -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release && \ cmake --build . --parallel && \ checkinstall --install=no --nodoc --pkgname=cmake --pkgversion=${CMAKE_VERSION} -y && \ apt -y remove cmake cmake-data && \ dpkg -i cmake_${CMAKE_VERSION}*.deb && \ rm -rf /cmake-build mkdir /build && \ cd /build && \ /src/qt/configure \ -prefix /usr \ -opensource \ -confirm-license \ -release \ -ccache \ -xcb \ -opengl \ -skip qt3d \ -skip qtcharts \ -skip qtdatavis3d \ -skip qtgamepad \ -skip qtgraphs \ -skip qtmqtt \ -skip qtopenapi \ -skip qtquick3d \ -skip qtquick3dphysics \ -skip qtquickeffectmaker \ -skip qtremoteobjects \ -skip qtsensors \ -skip qtserialbus \ -skip qtserialport \ -skip qtspeech \ -skip qtwebchannel \ -skip qtwebengine \ -skip qtwebsockets \ -nomake examples \ -nomake tests
  • What can we say - we like games. And you can use Qt to write some. Questions? Ask here.
    875 4k
    875 Topics
    4k Posts
    S
    Thanks for the detailed breakdown! I've been looking into Qt for game dev lately, so this information is really good to know.
  • Discussions and questions on QtWebEngine
    1k 4k
    1k Topics
    4k Posts
    J
    Finally got my 6.11 installation working. This was fixed in the update.
  • You're using Qt with other languages than C++, eh? Post here!
    870 3k
    870 Topics
    3k Posts
    PedromixP
    New version QtJambi 6.11.1 is available now 🎉. For all who want to create smart UIs🚀 in Java or Kotlin based upon the latest Qt release. https://www.qtjambi.io/ [image: 95a6c11a-f7b2-4a9c-8325-ccfc9c93b3ec.png]
  • For discussion and questions about Qt for Python (PySide & Shiboken)

    3k 15k
    3k Topics
    15k Posts
    JKSHJ
    @FatesealMagic said in How do I make my QMainWindow's contents dynamically resize after floating a QDockWidget?: I tried this code on a different machine with Ot/PySide6 6.11.0 and it worked as expected. Thank you! EDIT: For completeness, apparently this issue only impacts very specific QT versions: https://stackoverflow.com/questions/79999518/how-do-i-make-my-qmainwindows-contents-dynamically-resize-after-floating-a-qdoc/79999535#79999535 Indeed: https://qt-project.atlassian.net/browse/QTBUG-147209
  • Specific issues when using Qt for WebAssembly

    467 2k
    467 Topics
    2k Posts
    F
    What you say is true, it's an oversight. That does not solve the issue I am having though: the dialog opens when compiled to desktop, not when compiled to WASM.
  • Discussions and questions about Qt Quick Ultralite and using Qt on microcontrollers in general

    156 476
    156 Topics
    476 Posts
    G
    I am working on a Qt for MCUs application and currently using OTF font files with the Static font engine. The font quality is good with OTF, but internal flash usage becomes very high. When I use FMP fonts, flash usage is low, but some glyphs do not render properly. Any guidance on the correct approach to move OTF font storage to external memory would be very helpful. Thank you.
  • Combining Qt with 3rd party libraries or components? Ask here!
    1k 6k
    1k Topics
    6k Posts
    S
    I know this is an old thread, but since it still shows up in search results: In case someone has issue with cross-compiling vlc4.0 from linux to windows, You can also checkout a blog on this issue: https://medium.com/@skdevane/building-vlc-4-0-for-windows-inside-wsl2-every-wall-i-hit-and-how-i-got-through-them-72e6e1e2d456
  • The forum for discussing the Qt Digital Advertising Platform

    16 41
    16 Topics
    41 Posts
    E
    @nayka Can I use QtDigitalAdvertising on PC applications? Or is it only allowed for use on Android or iOS mobile devices?
  • For discussion and questions about Qt Insight

    11 20
    11 Topics
    20 Posts
    jsulmJ
    @Alejandro_qt_ Here is an example how to build qtbase module: https://stackoverflow.com/questions/50022325/building-qt-module-from-source