Skip to content

Qt Development

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

Subcategories


  • This is where all the desktop OS and general Qt questions belong.
    83k 456k
    83k Topics
    456k Posts
    SGaistS
    Hi, Can you provide a minimal project that shows this issue ?
  • The forum for developing everything embedded: Linux, WinCE, Symbian, MeeGo... you name it.
    14k 62k
    14k Topics
    62k Posts
    SGaistS
    Hi, Do you have any desktop environment running on your demo system ? Which Linux distribution are you using ?
  • Looking for The Bling Thing(tm)? Post here!
    20k 77k
    20k Topics
    77k Posts
    H
    I'm developing an application using PySide 6.9 that features lists of items encapsulated inside a carousel. For that I used a PathView with a horizontal path (since I prefer its looping), with a vertical ListView inside its delegate. When testing this configuration with mouse, I get expected results (horizontal swipe scrolls the PathView, vertical - ListView), but when I try the same with a touchscreen device (running Windows 10 and Linux Mint), when I swipe horizontally (over an area covered by a ListView) it scrolls only for a couple pixels at a time before stopping, what is also interesting, after scrolling in such a way, the PathView doesn't snap back to preferredHighlightBegin/preferredHighlightEnd. When I build a similar configuration but using two nested ListViews instead, outer Horizontal, inner Vertical, I observe expected behavior (same smooth scrolling both both ways as when using mouse), but I lose the desired looping. Can I consider it a bug of the implementation? Do any workarounds for this behavior exist? Minimal example attached import QtQuick Window { id: root width: 800; height: 600 visible: true PathView { anchors.fill: parent model: 6 pathItemCount: 3 preferredHighlightBegin: 0.5 preferredHighlightEnd: 0.5 highlightRangeMode: ListView.StrictlyEnforceRange dragMargin: height / 2 path: Path { startX: -root.width * 0.3 startY: root.height / 2 PathLine { x: root.width * 1.3 y: root.height / 2 } } delegate: Rectangle { width: root.width / 2 height: PathView.view.height color: "#888888" ListView { anchors.fill: parent anchors.leftMargin: 5 anchors.rightMargin: 5 spacing: 5 model: 6 delegate: Rectangle { width: ListView.view.width height: 40 color: "white" } } } } }
  • Have a question about Qt Creator, our cross-platform IDE, or any of the other tools? Ask here!
    8k 35k
    8k Topics
    35k Posts
    A
    @Christian-Ehrlicher said in Qt Creator: cmake errors after downgrade of MSVC compiler: 17.9 should also work. Make sure to start with a clean build dir and also no CMakeLists.txt.user in the source tree I did everything, but forgot about .txt.user Will try that... EDIT: However, after the torturous downgrade/upgrade experience, my VS debugger decided to behave, so I'll keep you advice for the future.
  • 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
    ademmlerA
    Hi there, I ran into a situation that a Qt Online Installer could not write to its default CACHE Directory while download. I don't say it s a bug - I am looking if somebody has made the same experience and may has a solution. The situation and what I tried: The host is a Windows11 Pro client in a Windows Domain. User rights are very tight ofcourse. Hence I tested those to locations as cache: Default cache Location is "/Users/<username>/AppData/local/cache/qt-installer ... I set it manually to C:/temp In both cases the download fails because of missing user rights to write to the "final component directory". This is the 3 level of inheritance of user rights. It seems like this is Windows default policy ... Does somebody made the same experience and knows a solution? Is there a way to define a "flat structure" for the cache? Using local administrator rights did worked, but than the installation target changes to the "Administrative User", which is not the one I want to install to. Why is this important: I want to install some basic application stuff and folders into "/Users/<username>/AppData/Roaming/MyStuff/MyApplication". This is also what MS recommends, what QT recommends and to which QStandardPaths:: AppDataLocation would point to.
  • What can we say - we like games. And you can use Qt to write some. Questions? Ask here.
    871 4k
    871 Topics
    4k Posts
    8Observer88
    Transformed triangle in OpenGL 3.3 and Qt 6.9 Video: https://www.youtube.com/watch?v=AGHZsOrazEU Source: https://github.com/8Observer8/basics-of-opengl33-and-qt6 [image: 32a44a09-d509-44f9-8c89-6c481c990a91.png]
  • 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
    P
    @SGaist said in Connecting a QWebSocket to a given IPv6 address (no URL): What did you do that made things work ? It might be helpful to other people :-) There were two things: The QWebSocketServer was set to SecureMode, while on the client's side, the request URLs were all "ws://", so changing the QWebSocketServer to NonSecureMode helped a lot. When the lookup of QHostInfo is successful, the lookupId of is set to -1, and the errorString is then "Unknown error". So there really was no problem with this to begin with!
  • You're using Qt with other languages than C++, eh? Post here!
    865 3k
    865 Topics
    3k Posts
    PedromixP
    Brand new release QtJambi 6.9.1 is out now🥂. Create sophisticated Java apps for Desktop and Mobile or refactor your legacy code using Qt as UI framework! https://www.qtjambi.io [image: cb78556c-b761-467b-b005-119e3643175c.png]
  • Combining Qt with 3rd party libraries or components? Ask here!
    1k 6k
    1k Topics
    6k Posts
    Axel SpoerlA
    @Dream_Helium said in Using Qt Program as a Module, but constantly get critical message: using GModule to load a Qt module just that thought scares me! Which Qt module are you loading and why with GModule? What is the expected result? g_main_context_pop_thread_default: assertion 'stack != NULL' failed As rightfully said: That error message comes from glib, not from Qt. Maybe consult the gtk forum.
  • For discussion and questions about Qt for Python (PySide & Shiboken)

    3k 15k
    3k Topics
    15k Posts
    SGaistS
    Ok, I better understand your issue. I am currently wondering whether QtAsyncio should have followed more closely that design.
  • Specific issues when using Qt for WebAssembly

    455 2k
    455 Topics
    2k Posts
    SGaistS
    @davidweisgerber hi, Since you dived in already, I would encourage you to submit a patch to improve the documentation on that aspect.
  • Discussions and questions about Qt Quick Ultralite and using Qt on microcontrollers in general

    142 445
    142 Topics
    445 Posts
    jsulmJ
    @Vishal-Biradar said in Code is getting reset.: But after certain period code is resting means display is getting off again restart Do you mean your app is crashing? The OS is restarting? Please say exactly what happens. Regarding your code: using an endless loop in an event driven application is a no-go...
  • The forum for discussing the Qt Digital Advertising Platform

    17 41
    17 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

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