Skip to content

Qt Development

Everything development. From desktop and mobile to cloud. Games, tools, 3rd party libraries. Everything.
143.9k Topics 719.7k Posts

Subcategories


  • This is where all the desktop OS and general Qt questions belong.
    83k Topics
    455k Posts
    @Bondrusiek if you want to have access to the key and value, you need to use keyValueBegin and keyValueEnd. QHash doesn't match the stl API but it was too late to change when it was discovered.
  • The forum for developing everything embedded: Linux, WinCE, Symbian, MeeGo... you name it.
    14k 62k a day ago
    14k Topics
    62k Posts
    Hi, I built and deployed an android app on Qt6.8.3. When the application is deployed on a Android-33 phone, the app icon is smaller than the frame of the app icons on the phone, as illustrated below by red for Calqlatr app. I included the icon in the AndroidManifest.xml with different resolution (LDPI, MDPI, HDPI, XHDPI, XXHDPI, XXXHDPI). I would like to have the app icon similar to the whatsapp icon in the below image (it fills the frame). Any advice please ? [image: 7d0690f0-5c83-4356-8e91-edbee92b902f.jpg]
  • Looking for The Bling Thing(tm)? Post here!
    20k Topics
    77k Posts
    @Pl45m4 Thought you'd may have some experience regarding the cmake aspect. :D But nevermind.
  • Have a question about Qt Creator, our cross-platform IDE, or any of the other tools? Ask here!
    8k Topics
    35k Posts
    Hi, I'm sorry this will be a really basic question but i'm trying to review these tools, have the 10 day trial window to do so currently and hitting the most unexpected and immediate problems. My main review is to see Figma designs through, I've found our existing designs just explode when they hit design studio and, assuming that will just take time to optimize them for QT that it'd have to wait, so I just generated assetts by hand and made an incredibly simple single page in Design Studio. (2 rectangles, an svg and some text basically) I can load the project in creator but anytime I try to "Run" it I get the following: file:///C:/QT-Projects/Simple/SimpleContent/App.qml:11:5: Type Screen01 unavailable file:///C:/QT-Projects/Simple/SimpleContent/Screen01.ui.qml: Type Constants unavailable file:///C:/QT-Projects/Simple/Simple/Constants.qml:3:1: module "QtQuick.Studio.Application" is not installed I've gone so far as to create a new project, make no changes to it at all and this also doesn't run in creator. Surely the default installation of Design Studio + Creator would result in apps that can run? The items it says are unavailable appear to be in the file locations listed and i'm struggling to find a simple instruction to resolve "QTQuick.Studio.Application" is not installed. How do I ensure this is installed? (I've run the maintenance app and the option is not leaping out at me as something i've missed?) I'm on windows 11 QT Creator 16.0.1 Design Studio 4.7 Apologies for what feels like a totally amateur question. Note: I have both Community and Enterprise(trial) editions installed, could that be causing a conflict?
  • 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 15 minutes ago
    10k Topics
    51k Posts
    Sorry not to reply sooner, I have been away. The project was created by VS over a period of time. THere is no CMake files as said. I guess it's some weird VS bug.
  • What can we say - we like games. And you can use Qt to write some. Questions? Ask here.
    866 4k 2 days ago
    866 Topics
    4k Posts
    @SrisharanVS said in LAN Communication for my Multiplayer Board Game on QT/QML: Could anyone guide me on how to handle LAN discovery, establish a connection, and start communicating? If you know of any similar projects, tutorials, or helpful resources, I'd really appreciate it. Start here https://doc.qt.io/qt-6/qtnetwork-programming.html
  • Questions about Qt WebKit and related topics? Post here!
    2k 6k 17 days ago
    2k Topics
    6k Posts
    @Vbrg So in a word Qt only offers integrated browser with chromium/Qt web engine.
  • Discussions and questions on QtWebEngine
    1k 4k 3 days ago
    1k Topics
    4k Posts
    Re: QWebEngineView with transparent bg always on top
  • You're using Qt with other languages than C++, eh? Post here!
    862 Topics
    3k Posts
    [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 27 days ago
    1k Topics
    6k Posts
    Hi, Did you try to build one of the pylon examples ?
  • For discussion and questions about Qt for Python (PySide & Shiboken)

    3k Topics
    14k Posts
    @SGaist said in Centered text in QGraphicsView: self.setSceneRect(0, 0, self.viewport().width(), self.viewport().height()) Thank you. Yes, that is indeed what was missing. I had this line before, but probably at the wrong place, so I discarded it.
  • Specific issues when using Qt for WebAssembly

    454 2k 2 days ago
    454 Topics
    2k Posts
    my knowledge is very poor in web development, can you point me how to reach that?.. Thanks. Edit: I managed to add application/wasm with .wasm extension in CPanel, so then, tried again, and i got this: [image: bc240547-4311-4661-b70f-b149c4226bcb.png]
  • Discussions and questions about Qt Quick Ultralite and using Qt on microcontrollers in general

    139 434 20 days ago
    139 Topics
    434 Posts
    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 Topics
    40 Posts
    @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 13 7 days ago
    9 Topics
    13 Posts
    I wanted to check out the latest features for qt-insight-1.9 but the link just forwards to the main blog page and in the blog I couldn't find anything about QT Insight.