Skip to content

Qt 6

This is where all Qt 6 related questions belong

816 Topics 3.9k Posts
QtWS25 Call for Papers
  • Compiling documentation from source

    Solved
    2
    0 Votes
    2 Posts
    178 Views
    S

    I decided myself: ninja docs / ninja install_docs

  • QT3D crashes on qt3d sample

    Solved
    3
    0 Votes
    3 Posts
    514 Views
    McTobM

    Thank you for your feedback:
    System: 5.8.0-43-generic #49~20.04.1-Ubuntu x86_64 - Ubuntu 20.04.2 LTS
    GPU GeForce GTX 680
    NVIDIA Driver Version: 460.32.03

    I was trying to check which openGL implementation was used on my system but ended up with an error message, although I have libnvidia-gl-460 installed:

    glxinfo | grep OpenGL X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 151 (GLX) Minor opcode of failed request: 24 (X_GLXCreateNewContext) Value in failed request: 0x0 Serial number of failed request: 99 Current serial number in output stream: 100

    I'll dig in that direction

    Edit: after sudo nvidia-xconfig and a reboot, the example is now working, thanks a lot @SGaist for pointing me in the right direction !

  • No QtMultimedia Module in PySide6.

    Unsolved
    5
    0 Votes
    5 Posts
    577 Views
    SGaistS

    Hi and welcome to devnet,
    @ailisp said in No QtMultimedia Module in PySide6.:

    I think this PySide6 example indicates there's a QtMultimedia Module: https://doc.qt.io/qtforpython/examples/example_multimedia__camera.html (or example is wrong)

    In this case, the documentation is currently wrong and has likely been automatically generated. Qt 6.0.1 clearly comes without the QtMultimedia module therefore PySide6 cannot have it either at this time.

  • Using the Qt Quick TreeView with CMake

    Unsolved
    4
    0 Votes
    4 Posts
    293 Views
    SGaistS

    I think the idea here is that you build and install the Quick TreeView so that you can reuse it from within different projects.

  • Migrating to Qt 6 tips

    Moved Unsolved
    1
    2 Votes
    1 Posts
    172 Views
    No one has replied
  • How to initialize QQuickRenderControl?

    Solved
    2
    0 Votes
    2 Posts
    259 Views
    C

    Ah, I seem to have figured it out. You have to construct the QQuickWindow with the QQuickRenderControl as the parent. Wish that was a little more clear in the QQuickRenderControl docs.

  • 0 Votes
    3 Posts
    304 Views
    D

    @Sathish_1985
    There should be the error message before the line

    make[6]: Leaving directory '/e/Misc/GenesisTools/repos/MINGW-packages/mingw-w64-qt5/src/x86_64/qtbase/src/plugins/styles/windowsvista'

    in your log.

  • Qt6 support in Qml Designer

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

    Unsolved
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • determing graphics frame swap time when rendering in Qt 6

    Moved Unsolved
    12
    1 Votes
    12 Posts
    2k Views
    B

    Stepping back from the specifics of the application, the general question is: How to render a smooth animation representing the value of a continuously changing variable (the position in the audio track) that can move in either direction at any time at any velocity and acceleration? Perhaps we need a PID controller?

  • Qt6: Build error with Visual Studio 2019 and QtQuick3D

    Unsolved
    5
    1 Votes
    5 Posts
    1k Views
    Cobra91151C

    I have fixed this issue by changing small to little variable name in every occurrence in the method below.

    Code - ComputeUVMappingProcess.cpp:

    // Try to remove UV seams void RemoveUVSeams (aiMesh* mesh, aiVector3D* out) { // TODO: just a very rough algorithm. I think it could be done // much easier, but I don't know how and am currently too tired to // to think about a better solution. const static ai_real LOWER_LIMIT = ai_real( 0.1 ); const static ai_real UPPER_LIMIT = ai_real( 0.9 ); const static ai_real LOWER_EPSILON = ai_real( 10e-3 ); const static ai_real UPPER_EPSILON = ai_real( 1.0-10e-3 ); for (unsigned int fidx = 0; fidx < mesh->mNumFaces;++fidx) { const aiFace& face = mesh->mFaces[fidx]; if (face.mNumIndices < 3) continue; // triangles and polygons only, please unsigned int little = face.mNumIndices, large = little; bool zero = false, one = false, round_to_zero = false; // Check whether this face lies on a UV seam. We can just guess, // but the assumption that a face with at least one very little // on the one side and one very large U coord on the other side // lies on a UV seam should work for most cases. for (unsigned int n = 0; n < face.mNumIndices;++n) { if (out[face.mIndices[n]].x < LOWER_LIMIT) { little = n; // If we have a U value very close to 0 we can't // round the others to 0, too. if (out[face.mIndices[n]].x <= LOWER_EPSILON) zero = true; else round_to_zero = true; } if (out[face.mIndices[n]].x > UPPER_LIMIT) { large = n; // If we have a U value very close to 1 we can't // round the others to 1, too. if (out[face.mIndices[n]].x >= UPPER_EPSILON) one = true; } } if (little != face.mNumIndices && large != face.mNumIndices) { for (unsigned int n = 0; n < face.mNumIndices;++n) { // If the u value is over the upper limit and no other u // value of that face is 0, round it to 0 if (out[face.mIndices[n]].x > UPPER_LIMIT && !zero) out[face.mIndices[n]].x = 0.0; // If the u value is below the lower limit and no other u // value of that face is 1, round it to 1 else if (out[face.mIndices[n]].x < LOWER_LIMIT && !one) out[face.mIndices[n]].x = 1.0; // The face contains both 0 and 1 as UV coords. This can occur // for faces which have an edge that lies directly on the seam. // Due to numerical inaccuracies one U coord becomes 0, the // other 1. But we do still have a third UV coord to determine // to which side we must round to. else if (one && zero) { if (round_to_zero && out[face.mIndices[n]].x >= UPPER_EPSILON) out[face.mIndices[n]].x = 0.0; else if (!round_to_zero && out[face.mIndices[n]].x <= LOWER_EPSILON) out[face.mIndices[n]].x = 1.0; } } } } }

    Now, it successfully compiles Qt 6.0.1 statically.

  • Conflict between Homebrew policy and and Qt6

    Unsolved
    2
    0 Votes
    2 Posts
    222 Views
    Christian EhrlicherC

    This is a user-driven forum. For bug reports either ask at the mailing list or create a bug report.

  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • in qt6 QJSValue call not work properly

    Unsolved
    1
    0 Votes
    1 Posts
    233 Views
    No one has replied
  • 1 Votes
    10 Posts
    9k Views
    jsulmJ

    @AnneRanch
    #1 - this is normal on Linux and has to do with security (you usually really don't want downloaded files to be executable out of the box). A software developer should know how to make a file executable.
    #2 - QtCreator is installed by default when using the online installer provided by Qt Company
    #3 - It is an installer downloading most data from the Internet (including QtCreator). If you want an installer which includes everything then use offline installer (but keep in mind - it is big).

  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • 0 Votes
    11 Posts
    1k Views
    K

    An error occurred.But other pc Start Over!
    Windows10 VisualStudio2019 x64 Qt6.0.0

    (mega 2.62GB)
    https://mega.nz/file/tqQ0RJBT#HGZRV0B_k9Ekrf952vJ2-we6LK2nnfUCftSHmoO2syg

    command(admin)
    c:\qt6\src>cmake --install c:\qt6\src

  • Qt 6: Can't get GTK to work on Linux Mint

    Unsolved
    6
    0 Votes
    6 Posts
    1k Views
    DriftwoodD

    @JKSH - I found this:

    gtkThemes.png

    But it isn't working. And I see no way to turn it on. Everything I create with Qt on Linux comes away with the standard "Qt theme".

    gtkTheme-01.png

    On the left, we have Qt. On the right, Code::Blocks. I'm not making a comparison here, because I know Code::Blocks uses wxWidgets, and they adapt instantly to any theme. But I am trying to point out that I just created both of these on my Linux box. C::B holds true to my theme while Qt doesn't. I'm just trying to make Qt roll with my theme. And I know it can, because I use some Qt software on Linux that uses any theme I set. I just don't know how to get my Qt stuff to behave in kind. Any help in this matter would be greatly appreciated.

  • 0 Votes
    1 Posts
    264 Views
    No one has replied
  • Installation Qt6 on windows

    Unsolved
    7
    0 Votes
    7 Posts
    2k Views
    M

    @ronron
    Could you try the link www.qt.io/download-qt-installer for the online installer? That would automatically detect your operating system. In your case, Windows 10 platform. It could help to see that you are downloading the right version, 64-bits.