Skip to content

Qt 6

This is where all Qt 6 related questions belong

827 Topics 4.0k Posts

QtWS: Super Early Bird Tickets Available!

  • qt 6.1, qml, error: "Object is not a type"

    Solved
    2
    0 Votes
    2 Posts
    1k Views
    C

    Well, turned out my qmldir was incorrect.
    it is strange that it worked under QT5 however.

    Cyrille

  • QTextCodec & Qt6::Core5Compat & Conan

    Unsolved
    2
    0 Votes
    2 Posts
    302 Views
    W

    Doh! There's a Conan option qt5compat.

  • Where is QTiffHandler ? [Qt 6.x]

    Moved Unsolved
    2
    0 Votes
    2 Posts
    225 Views
    Christian EhrlicherC

    Please read https://forum.qt.io/topic/121651/read-before-posting-in-this-category

    Moved to Qt6

  • 3D Install Qt6

    Solved
    79
    0 Votes
    79 Posts
    15k Views
    O

    @SGaist Please excuse my horrible grammar and form of the post. I am sure that dropping qmake_paths will work; however, it took a very long time to process until the final error, but my question was about the qt3d product that was formed: It looks complete and good. Stop! The Linux qt3d install finally worked! Here is what I used:
    export PATH=/home/bob/Qt/Tools/bin:/home/bob/Qt/Tools/Conan:/home/bob/Qt/Tools/Ninja:$PATH
    cd /home/bob/Qt/Conan3D
    source /home/bob/vulkan/1.2.170.0/setup-env.sh
    conan install qt3d/6.0.1@qt/final --build=missing --profile=/home/bob/Qt/Tools/Conan/profiles/'''qt-6.0.2-gcc-x86_64''' -s build_type=Release -g cmake_paths -g=cmake -g deploy -g=qmake
    To remove the conan locks I had to use:
    /home/bob/Qt/Tools/Conan/conan remove -l
    As to the Win 10 qt3d, the following lines of the Linux install make me believe that I need to redo it:
    qt3d/6.0.1@qt/final: Package 'a39b4915813a92b93e8b0ff2f505771141766338' created
    qt3d/6.0.1@qt/final: Created package revision 780334a95b0b0590268c0f5957052806
    Generator txt created conanbuildinfo.txt
    Generator cmake_paths created conan_paths.cmake
    Generator qmake created conanbuildinfo.pri
    Generator deploy created deploy_manifest.txt
    Generator cmake created conanbuildinfo.cmake
    qt3d/6.0.1@qt/final deploy(): Copied 814 '.h' files
    qt3d/6.0.1@qt/final deploy(): Copied 27 '.prl' files
    qt3d/6.0.1@qt/final deploy(): Copied 288 files
    qt3d/6.0.1@qt/final deploy(): Copied 13 '.json' files
    qt3d/6.0.1@qt/final deploy(): Copied 9 '.o' files
    qt3d/6.0.1@qt/final deploy(): Copied 176 '.cmake' files
    qt3d/6.0.1@qt/final deploy(): Copied 12 '.1' files
    qt3d/6.0.1@qt/final deploy(): Copied 39 '.pri' files
    qt3d/6.0.1@qt/final deploy(): Copied 12 '.so' files
    qt3d/6.0.1@qt/final deploy(): Copied 8 '.qmltypes' files
    qt3d/6.0.1@qt/final deploy(): Copied 15 '.a' files
    qt3d/6.0.1@qt/final deploy(): Copied 12 '.6' files
    qt3d/6.0.1@qt/final deploy(): Copied 12 '.debug' files
    qt3d/6.0.1@qt/final deploy(): Copied 2 '.txt' files: conaninfo.txt, conanmanifest.txt

    Thanks for all your help, I am sure I will have more questions as I try writting qt3d programs.

  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • Where is QtWebEngine int Qt6.0.2 ?

    Moved Unsolved
    2
    0 Votes
    2 Posts
    182 Views
    Christian EhrlicherC

    Please read https://forum.qt.io/topic/121651/read-before-posting-in-this-category

    moved to Qt6

  • increment variable of server class for each thread

    Unsolved
    2
    0 Votes
    2 Posts
    196 Views
    jsulmJ

    @fari35 said in increment variable of server class for each thread:

    How can I do that?

    Emit a signal in each thread as soon as a new client connects. Connect a slot to that signal and increment the count variable there.

  • How to use the Conan 3D package?

    Unsolved
    2
    0 Votes
    2 Posts
    293 Views
    kkoehneK

    Check out https://wiki.qt.io/Qt6_Add-on_src_package_build_using_Conan_package_manager . The easiest setup currently is to install qt3d into the Qt SDK by running

    <QtSdk>/Tools/Conan/conan install qtnetworkauth/6.0.2@qt/final --build=missing --profile=<QtSdk>/Tools/Conan/profiles/<right_profile>
  • Thank you very much

    Solved
    1
    0 Votes
    1 Posts
    177 Views
    No one has replied
  • 0 Votes
    2 Posts
    167 Views
    SGaistS

    Hi and welcome to devnet,

    Do you have cmake installed and if so which version ?

    That said, /opt is usually not user writable so you should do an out of source build from somewhere you can like your home folder (doing it as root is a bad idea).

  • Unable to add external library to Qt6

    Unsolved
    6
    0 Votes
    6 Posts
    583 Views
    SGaistS

    You have a chapter in the Eigen documentation on how to use the library with a cmake project.

  • Build Qt from source for Android on Ubuntu

    Unsolved
    1
    0 Votes
    1 Posts
    287 Views
    No one has replied
  • Scrolling in QGraphicsView

    Solved
    5
    0 Votes
    5 Posts
    496 Views
    Ketan__Patel__0011K

    set Transformation Anchor for Your QGraphicsView
    QGraphicsview::setTransformationAnchor(QGraphicsView::AnchorUnderMouse);

    I am using same solution and it is working correctly.

  • What is the replacement for QStateMachine in Qt6?

    Unsolved
    4
    0 Votes
    4 Posts
    612 Views
    M

    it seems 6.1 includes State Machines https://wiki.qt.io/New_Features_in_Qt_6.1

  • QT += serialport unknown module error

    Moved Solved
    2
    0 Votes
    2 Posts
    1k Views
    jsulmJ

    @Gunkut See https://forum.qt.io/topic/122548/serial-port-for-qt-6
    Qt6 does not yet contain serialport module.

  • 0 Votes
    7 Posts
    35k Views
    EndrII 0E

    You need to deploy your application.
    I use the cqtdeployer tool for solve this issue.

    Examples of using available here, here and here

    You can download this deploy tool from github releases or snap store if you use Linux systems.

  • Qt6 Bluetooth and Serial Port support

    Unsolved
    5
    0 Votes
    5 Posts
    1k Views
    H

    Great, thank you for the clarification - I must have overlooked this document:
    https://www.qt.io/blog/add-on-support-in-qt-6.0-and-beyond

    Cheers! P.

  • Qt3D 6.0.2 on Windows using MinGW 8.1.0

    Unsolved
    4
    0 Votes
    4 Posts
    422 Views
    SGaistS

    No that looks fine. Using static dependencies does not automatically trigger a static library creation.

    It's seems to be a bug indeed.

  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • Qt6 for iOS and WebAsm support?

    Unsolved
    1
    0 Votes
    1 Posts
    158 Views
    No one has replied