Skip to content

Qt 6

This is where all Qt 6 related questions belong

828 Topics 4.0k Posts

QtWS: Super Early Bird Tickets Available!

  • Using Qt5 code in Qt6

    Solved
    18
    0 Votes
    18 Posts
    2k Views
    C

    @Chris-Kawa I see, thanks for the advise, I think thats how I'll do it

  • Couple of question (qtwebengine, qt6 [win7, win8])

    Unsolved
    2
    0 Votes
    2 Posts
    429 Views
    jsulmJ

    @continue98

    Probably because it costs Qt Company money to support more platforms. Also Windows 7 is not supported anymore even by Microsoft and everyone still using it probably does not care about the safety of his/her data... Qt 6.4 does not support 32bit builds for Windows anymore.
    If you really have to support such old Windows versions and need 32bit builds then use older Qt versions.
  • Build error 6.4 (configure)

    Unsolved
    21
    0 Votes
    21 Posts
    2k Views
    C

    i resolved this. Perhaps someone will be useful. I had cmake 3.24-rc4 and they broke something with it. Here is the link: https://gitlab.kitware.com/cmake/cmake/-/issues/23759

    Rolled back cmake to 3.23.3, everything works fine

    @SGaist thk for trying to help

  • Qt c++ xlsx get maxımum row for calculate average

    Solved
    8
    0 Votes
    8 Posts
    610 Views
    JonBJ

    @mangekoyu
    So if you do know maxRow, or use 9999, either way what is your problem?

  • Files are not automatically added to the CMakeList

    Unsolved
    2
    0 Votes
    2 Posts
    4k Views
    sierdzioS

    @Cesar said in Files are not automatically added to the CMakeList:

    How could I set it to add the files automatically?

    You can't, Qt Creator does not have such functionality. That's why it copies the path to clipboard - so you can paste it in CMakeLists.txt yourself.

  • How fast start with Qt6 ?

    Unsolved
    2
    0 Votes
    2 Posts
    209 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
    454 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
    302 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
    207 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
    562 Views
    V

    Hi,

    Thank you, that works.

    Regards,

    Michal

  • 0 Votes
    5 Posts
    267 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
    954 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
    150 Views
    SGaistS

    Hi,

    Same answer as here.

  • 0 Votes
    3 Posts
    222 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
    415 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
    250 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