Skip to content

Qt 6

This is where all Qt 6 related questions belong

840 Topics 4.1k Posts
  • How fast start with Qt6 ?

    Unsolved
    2
    0 Votes
    2 Posts
    253 Views
    SGaistS

    Hi,

    For version less support in cmake see the dedicated chapter in Qt 6's documentation.

    As for the differences, there is the porting guide.

  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    17 Views
    No one has replied
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    32 Views
    No one has replied
  • Winpcap help

    Solved
    5
    0 Votes
    5 Posts
    551 Views
    P

    Thanks a lot! now I understand well why it was that of L and l. Try that and it works!

  • [Timestamp interpolation]

    Unsolved
    4
    0 Votes
    4 Posts
    381 Views
    Christian EhrlicherC

    @appdev said in [Timestamp interpolation]:

    To be more specific, is there any function in Qt that can interpolate QDateTime.

    No but why should such a thing exist?

    Convert your strings to QDateTime and calc the difference.

  • hey,

    Unsolved
    3
    0 Votes
    3 Posts
    262 Views
    JonBJ

    @ari87000
    Hello and welcome.

    In addition to @mchinand, please think about a (short but) meaningful title for your threads. hey, does not help those who read the questions.

    You probably will also need to paste the content of your game.h header file, we need to see the declaration of Game class (does it have Q_OBJECT macro?) and Game::spawnEnemy() method (is it marked as a slot?).

  • 0 Votes
    3 Posts
    671 Views
    V

    Hi,

    Thank you, that works.

    Regards,

    Michal

  • 0 Votes
    5 Posts
    357 Views
    cristian-adamC

    I guess it depends of what you are using from OpenGL and GLSL.

    The opengl32sw.dll (mesa3d llvmpipe) that Qt is using is a bit dated, and might not provide the OpenGL version that you need.

    You can get a newer version from https://github.com/pal1000/mesa-dist-win

  • What should be inside of Qt6HostInfoConfig.cmake?

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    C

    Hi.

    Qt6HostInfoConfig.cmake should be found in the host (read desktop) Qt installation.

    You should not create the file yourself, but rather specify a -DQT_HOST_PATH=/path/to/host/qt argument when configuring the Qt for raspberry Pi, to a prebuilt / installed host Qt (for example, the one that comes with your distro, or the one from the Qt installer)

  • Versions info for libs used in Qt6.2.5

    Unsolved
    2
    0 Votes
    2 Posts
    194 Views
    SGaistS

    Hi,

    Same answer as here.

  • 0 Votes
    3 Posts
    266 Views
    J

    @JonB It is a meson project using custom commands, and QT will not let me specify a different executable for release and debug. It will only let me manually switch which executable it will run, so I can have build run the debug build and then run run the release executable which is something I do not want done.

  • QT 6.2.4 MacOS Build from Source

    Unsolved
    4
    0 Votes
    4 Posts
    486 Views
    SGaistS

    I tested the build with the sources but on a more recent version of macOS and it went fine using the same options as you.

  • how to write cascaded data to excel using Qtxlsx

    Unsolved
    3
    0 Votes
    3 Posts
    292 Views
    JonBJ

    @yangyanhui4
    QtXlsx is pretty limited in what it supports. There are many features of Excel which it does not support, including maybe your "groupRows".

  • 0 Votes
    8 Posts
    2k Views
    H

    This is because of virtualbox 3d acceleration support opengl version 2.0
    it looks like qt multimedia(6.2) need opengl at least 3.0 version

    Below was how to know it.
    mesa log enable and log like below

    Mesa: glGenTextures 1
    Mesa: glBindTexture GL_TEXTURE_2D 2
    Mesa: FLUSH_VERTICES in bind_texture_object
    Mesa: FLUSH_VERTICES in teximage
    Mesa: glTexImage2D GL_TEXTURE_2D 0 GL_R8 960 360 1 0 GL_RED GL_UNSIGNED_BYTE (nil)
    Mesa debug output: GL_INVALID_VALUE in glTexImage2D(internalFormat=GL_R8)

    GL_R8 variable is available upper than opengl 3.0

    That's why we have to see green screen in virtualbox 3d acceleration

  • How do you add a file to a meson project?

    Unsolved
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Custom Wayland extensions/protocols in Qt clients

    Solved
    8
    0 Votes
    8 Posts
    824 Views
    ehopperdietzelE

    @JKSH Thank you ! I didn't know that, it's way more convenient

  • QSqlDatabase: QMYSQL driver not loaded

    Unsolved
    7
    0 Votes
    7 Posts
    661 Views
    jsulmJ

    @Patsch36 said in QSqlDatabase: QMYSQL driver not loaded:

    How can be the driver now available but does still not work?

    Set QT_DEBUG_PLUGINS environment variable before starting your app, then post the output from terminal here.
    https://doc.qt.io/qt-6/debug.html

    Also, exact same questions is asked many many times, please search in this forum.

  • how to iterate through all server folders

    Locked Unsolved
    3
    0 Votes
    3 Posts
    245 Views
    F

    sorry i thought there were no more answers @jsulm

  • Allocation of incomplete type 'QaudioOutput'

    Unsolved
    2
    0 Votes
    2 Posts
    422 Views
    jsulmJ

    @Joona-A said in Allocation of incomplete type 'QaudioOutput':

    What's wrong?

    You forgot to include QAudioOutput header file as shown here: https://doc.qt.io/qt-5/qaudiooutput.html ?