Skip to content

Qt Development

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

Subcategories


  • This is where all the desktop OS and general Qt questions belong.
    84k 461k
    84k Topics
    461k Posts
    PerdrixP
    Alternatively, you could make your application depend on the distro's copy of Qt That wouldn't work on most Linux distros, and the installed Qt would need to exactly match the verison of Qt I built my application with.
  • Looking for The Bling Thing(tm)? Post here!
    20k 78k
    20k Topics
    78k Posts
    M
    Hey! I retested your repro on Qt 6.7.3 and 6.11.2 on Windows and got exactly your numbers on both. Using ListView like this is fine, I use it in a similar way myself. My delegates all have the same height though, so I never hit this. With equal heights, every jump lands correctly. ListView doesn't create delegates that are far off screen, so it estimates their height from the ones it has. When delegate heights vary, that estimate can be way off (your index 0 is 3425 px, but it gets guessed at a few hundred), and the position calculation for the jump ends up wrong. Try calling positionViewAtIndex twice as a workaround: list.positionViewAtIndex(index, ListView.End); list.positionViewAtIndex(index, ListView.End); The first call creates the delegates around the target, so on the second call ListView knows their real heights and positions correctly.
  • The forum for developing everything embedded: Linux, WinCE, Symbian, MeeGo... you name it.
    14k 63k
    14k Topics
    63k Posts
    Joe von HabsburgJ
    @SGaist thank you for your reply, I will try and If I will have a question, I will return :)
  • This is a discussion space for

    • for audio / video playback and recording
    • media formats and codecs
    • camera and screen sharing functionality
    57 239
    57 Topics
    239 Posts
    SGaistS
    Yes, it is all good. Thanks ! Same to 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
    JonBJ
    I was brought up to use make. A "sub-project" meant run a new make recursively from the makefile. If a compilation fails that returns a non-0 result to its make which then exits immediately returning non-0 to its parent make. You then have the - symbol in a makefile command and/or the -k argument to make for further control. Worked, and worked fine, for a century. Why do they need to complicate stuff? ;-)
  • 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
    SGaistS
    Hi and welcome to devnet, Where are you downloading from ?
  • What can we say - we like games. And you can use Qt to write some. Questions? Ask here.
    876 4k
    876 Topics
    4k Posts
    8Observer88
    Dear ImGui + Qt 6 + OpenGL 3.3 for Windows Source code: https://github.com/ivan-enzhaev/imgui-opengl-test-qt6 [image: a9b5340f-407f-4eb0-8a6d-7eae8a56edfa.png]
  • 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!
    874 3k
    874 Topics
    3k Posts
    micostaM
    @JohnBen said in Can QT Widgets be used directly with C#?: I'm probably going to have to slouch back to Gdk.... Before you do, would you consider giving Qt for Python a chance? It does provide direct bindings, so Widgets are fully supported. As for the Qt Bridge for C#, for now it will remain focused on Qt Quick / QML. But we would like to also offer support for Widgets at some point. This can be achieved by reusing the interop framework of Bridges to expose the necessary API's as C# types. However, we don't yet have a schedule for the development of that feature.
  • For discussion and questions about Qt for Python (PySide & Shiboken)

    3k 15k
    3k Topics
    15k Posts
    SGaistS
    @SimonSchroeder I would venture that it is almost more intuitive for QStackedWidget 😅
  • Specific issues when using Qt for WebAssembly

    469 2k
    469 Topics
    2k Posts
    SGaistS
    Hi, Can you provide a minimal compilable example that shows this behaviour ?
  • 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