Skip to content

Qt Development

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

Subcategories


  • This is where all the desktop OS and general Qt questions belong.
    84k 458k
    84k Topics
    458k Posts
    SGaistS
    Did you already check the bug report system ?
  • The forum for developing everything embedded: Linux, WinCE, Symbian, MeeGo... you name it.
    14k 63k
    14k Topics
    63k Posts
    Andy314A
    What do you means with responsive ? Adaption of the GUI to Screenorientation resp. - Screen Resolution and Size ? (Responsive Design)
  • Looking for The Bling Thing(tm)? Post here!
    20k 78k
    20k Topics
    78k Posts
    L
    I have a public method that needs to be called when the page creation is complete. Its purpose is to identify the controls closest to the top-left corner and the bottom-right corner within the page. To achieve this, I'm using mapToItem. However, in one specific page, calling this method in the root component's Component.onCompleted handler fails, as mapToItem returns (0, 0). I've determined that the issue occurs because the layout isn't fully complete even after the interface creation succeeds. How can I reliably detect the timing when the page layout is fully ready? The layout of this problematic page consists of a Column inside a Flickable. As a workaround, I'm currently calling the method in response to the Column's positioningComplete signal (not positionCompleted—I believe that's a typo in the original), and mapToItem works correctly there. That said, I have many other similar pages where I directly use mapToItem in the root component's onCompleted, and they all function normally without issues. What factors could generally cause the layout completion to lag behind the component creation in some cases? Is the success in my other pages just a matter of "luck," or are there specific differences I should investigate?
  • This is a discussion space for

    • for audio / video playback and recording
    • media formats and codecs
    • camera and screen sharing functionality
    47 201
    47 Topics
    201 Posts
    SGaistS
    You can run ldd on your libreoffice binary to see which libraries are linked. To enable logging categories, you have the different options describe in the documentation.
  • Have a question about Qt Creator, our cross-platform IDE, or any of the other tools? Ask here!
    8k 36k
    8k Topics
    36k Posts
    B
    i did not know about that .. and in fact i found the problem .. i had added some custom plugins to Creator and they were causeing the crash .. i did not find any proper way to gather debug info so i just started removing things till creator worked .. i did not know about tempclean setting no.. i will give that a try .. thanks for the tip
  • 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
    Axel SpoerlA
    @liteyear I have no remote configuration here at the moment. But IIRC, you can select it in the combo box just above the env variables. I would, however, try not to depend on LD_LIBRARY_PATH. I kitten dies, when you use it. I'd rather compile the application with a run path in CMake, pointing to the right libraries. I use LD_LIBRARY_PATH just for local experiments, when I want to load e.g. a development version of a public library.
  • What can we say - we like games. And you can use Qt to write some. Questions? Ask here.
    874 4k
    874 Topics
    4k Posts
    8Observer88
    Debug drawer for Box2D v3 using QPainter It uses b2World_Draw to draw Box2D objects for debugging. You can just download and run it without compiling libs because it include libs for Windows (MinGW) and Android. Source: https://github.com/8Observer8/debug-drawer-qpainter-box2dv3-qt6-cpp [image: 2a9af153-b7d2-40a0-9702-5fdfb79ccf52.png]
  • Discussions and questions on QtWebEngine
    1k 4k
    1k Topics
    4k Posts
    G
    @Axel-Spoerl “Thank you for the update. I’ll retry accessing the repositories and continue monitoring the situation. Please let me know if there are further changes.”
  • You're using Qt with other languages than C++, eh? Post here!
    867 3k
    867 Topics
    3k Posts
    N
    Indeed, it didn't work for PySide2; I had to implement a workaround. The option is present in the shiboken6 documentation, but not in shiboken2. I conclude it is not supported by the latter. Thanks
  • Combining Qt with 3rd party libraries or components? Ask here!
    1k 6k
    1k Topics
    6k Posts
    JonBJ
    @Buller You are aware that both of these are compile-time macros (e.g. https://qwt.sourceforge.io/qwt__global_8h_source.html) so, assuming you put these in your source code, they do not necessarily tell you anything about the "runtime versions" that the libraries might have been compiled with in the past? Or the runtime version of either Qt or QWT which might happen to be found?
  • For discussion and questions about Qt for Python (PySide & Shiboken)

    3k 15k
    3k Topics
    15k Posts
    T
    @JonB Unfortunately trying to seek or get the size doesn't work, as the open command fails. QFileInfo.size() returns 0 for one file, and -1 for another. It returns the correct size on the smaller JSON file. On Linux the correct size is returned for all of the files. Right now I am indeed doing the workaround of having the file outside of resources, but it's strange that it would be doing this and I'd like to figure out why :) @Christian-Ehrlicher I enabled binary transfer using a .gitattributes and ensured that the file was changed and committed, and pulled. Nothing changed. Both files have the same md5sum and are around 12 megabytes. I'm stuck. I'll try in the next day or two to see if I can make a MRE. Thanks for the suggestions!
  • Specific issues when using Qt for WebAssembly

    462 2k
    462 Topics
    2k Posts
    M
    I think Mesrine is right, this is telling you that your web server isnt configured correctly. In apache you'd add a configuration file like this: <Directory /var/www/html> Order Allow,Deny AllowOverride None Header set Access-Control-Allow-Origin "*" Header set Cross-Origin-Opener-Policy: same-origin Header set Cross-Origin-Embedder-Policy: require-corp </Directory>
  • Discussions and questions about Qt Quick Ultralite and using Qt on microcontrollers in general

    151 463
    151 Topics
    463 Posts
    J
    Hello everyone, I'm following the guide from https://doc.qt.io/QtForMCUs-2.10/qtul-nxp-rt1170-qsg.html to develop on the NXP i.MX RT1170 platform. I carefully followed each step in the tutorial, but when I reached the final build stage, the compiler reported the following error: make[1]: *** No rule to make target 'libQulCore_cortex-m7-hf-fpv5-d16_Windows_armgcc_MinSizeRel.a', needed by 'MIMXRT1176_Project.axf'. Stop.  I tried going back through the tutorial to check if I missed anything, but I couldn't identify the problem. Could anyone advise how to resolve this error? Environment: IDE: MCUXpresso IDE v11.9.0 [Build 2144] [2024-01-05] SDK: SDK_2_16_0_MIMXRT1170-EVKB Qt for MCUs: 2.10.1 Thank you!
  • The forum for discussing the Qt Digital Advertising Platform

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