Skip to content

Qt Development

Everything development. From desktop and mobile to cloud. Games, tools, 3rd party libraries. Everything.
143.8k Topics 718.9k Posts
QtWS25 Last Chance

Subcategories


  • This is where all the desktop OS and general Qt questions belong.
    83k 455k
    83k Topics
    455k Posts
    J
    Does each icon exist as a file somewhere? I assumed they were stored in some binary that would make them hard to access
  • The forum for developing everything embedded: Linux, WinCE, Symbian, MeeGo... you name it.
    14k 62k
    14k Topics
    62k Posts
    JoeCFDJ
    @Andy314 Click "Show" combox to check Archives and then you will be able to get it.
  • Looking for The Bling Thing(tm)? Post here!
    20k 77k
    20k Topics
    77k Posts
    SGaistS
    Hi, From a quick look, the former is to registry a QML type while the latter is to register an actual C++ object instance.
  • Have a question about Qt Creator, our cross-platform IDE, or any of the other tools? Ask here!
    8k 35k
    8k Topics
    35k Posts
    jsulmJ
    @lyvvvv As far as I know Visual Studio supports CMake - why not using it directly instead of sln?
  • 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 51k
    10k Topics
    51k Posts
    SGaistS
    Hi, You can start your application with the QT_DEBUG_PLUGINS environment variable set to 1 to get more information about what is happening. That said, why does your static Qt build try to load your system installed plugins ?
  • What can we say - we like games. And you can use Qt to write some. Questions? Ask here.
    865 4k
    865 Topics
    4k Posts
    H
    I'm developping a RPG game. When I push the right-key and push the up-key simultaneously, event loop stops. Why? bool MapScene::event(QEvent *event) { if (event->type() == QEvent::KeyPress) { qDebug() << "event"; } return QGraphicsScene::event(event); } I tried at the upper event, but the result was the same. 1.When I move a character to the right direction, naturally I push the right-key. 2.When I change the direction, for example, I push the down-key suddenly. 3.The event is not called. To call the event, I must release completely the key button once, and then push another button. But I dislike such a way because it is not comfortable. Please tell me how to solve this problem.
  • Questions about Qt WebKit and related topics? Post here!
    2k 6k
    2k Topics
    6k Posts
    JonBJ
    @Vbrg So in a word Qt only offers integrated browser with chromium/Qt web engine.
  • Discussions and questions on QtWebEngine
    1k 4k
    1k Topics
    4k Posts
    T
    Hello, I am super happy and thrilled to see that Qt WebEngine (with Qt 6.9) compiles on WoA. The only little issue I have is that it is slow and that is because it currently uses the x64 compiler instead of the native one. That means it goes via emulation. Is there a way to avoid this?
  • You're using Qt with other languages than C++, eh? Post here!
    862 3k
    862 Topics
    3k Posts
    PedromixP
    [image: cb2a3cc3-f435-4606-af64-5e7b6f7d685a.png] New version QtJambi 6.9.0 is out now 🎉. Try QtJambi to create sophisticated user interfaces in Java. https://www.qtjambi.io
  • Combining Qt with 3rd party libraries or components? Ask here!
    1k 6k
    1k Topics
    6k Posts
    SGaistS
    Hi, Did you try to build one of the pylon examples ?
  • For discussion and questions about Qt for Python (PySide & Shiboken)

    3k 14k
    3k Topics
    14k Posts
    P
    I made a batch script that I run every time I detect that the .qrc (or .ui) files have changed. It's all automated before launching the application.
  • Specific issues when using Qt for WebAssembly

    453 2k
    453 Topics
    2k Posts
    M
    @1XU7 I dont think that you can use relative path to images if they are outside of main project (not inside resource file in project), because webassembly (.wasm project) is sandboxed and can see just what is inside "his" sandboxed filesystem. So i am not 100% on this but i think that only way to load external images is to specifie full path where there are hosted (for instance: myhost.com/images/image1.jpg)
  • Discussions and questions about Qt Quick Ultralite and using Qt on microcontrollers in general

    139 434
    139 Topics
    434 Posts
    A
    Hi! We have a bit more complex setup with a generic library that defines (multiple) qml_modules. These qml_modules are then consumed in projects. Projects are again separated into multiple qml_modules. The problem arises while we wanted to transition to QmlProject files from CMake (as the Qt for MCUs CMake API is deprecated). The project specific qml_module has C++ types that need to be used in Qml, hence we define a InterfaceFiles node in the QmlProject like the following: InterfaceFiles { files: [ "include/path/to/a/InterfaceHeader.h" ] MCU.qmlImports: [ "com.company.generic.component" ] } The compiler fails to resolve header includes in InterfaceHeader.h as the qmlprojectgenerator only gets CMake INCLUDE_DIRECTORIES of the CMake targets of the project feature qml_module passed as the --include-dirs parameter. The feature lib (created with qul_add_target(TARGET_NAME QML_PROJECT feature.qmlproject) does link to the generic qml_module with a target_link_libraries() call but this is too late for the internal workings of the qul_add_target macro. Somehow the QmlProject is missing a way to tell it which other qml_modules need to be linked/considered. The qul_add_target macro at some point internally is only evaluating the direct INCLUDE_DIRECTORIES which does not include the include directories of transitive dependencies. Here is another short overview of the structure: * generic-library - output: qml_module * project * feature-a - defines qml_module - depends on qml_module of generic-library - ERROR: the interface header files of this of this qml_module are unable to include headers of the generic-library when using .qmlproject files. * feature-xxx - defines qml_module - depends on qml_module of generic-library - additionally might depend on another feature of the project * project-lib - depends on all features * project-app - depends on project-lib Thx, Andi
  • The forum for discussing the Qt Digital Advertising Platform

    16 40
    16 Topics
    40 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

    9 12
    9 Topics
    12 Posts
    vicnguyenV
    Qt Insight 1.9 has been released. Qt Insight has new additions to the funnels and filters, allowing you to make deeper discoveries about your application usage. Two different funnel analytics, finer-grained geographic filtering options for regions, and many smaller improvements and bug fixes will enhance your insight. Read more details in the 1.9 release blog post.