Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QtQuick.Dialog is uninstalled
Forum Updated to NodeBB v4.3 + New Features

QtQuick.Dialog is uninstalled

Scheduled Pinned Locked Moved Unsolved General and Desktop
9 Posts 2 Posters 735 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    linhnobi
    wrote on last edited by
    #1

    I tried to import QtQuick.Dialogs but I still have a message 1b93f0b8-1a21-4b7e-830b-1176350849f1-image.png
    I use Cmake to build my program and I included
    find_package(Qt6 REQUIRED COMPONENTS Widgets)
    target_link_libraries(mytarget PRIVATE Qt6::Widgets)
    in my CMakeLists.txt
    I don't know how to deal with this!!

    SGaistS 1 Reply Last reply
    0
    • L linhnobi

      I tried to import QtQuick.Dialogs but I still have a message 1b93f0b8-1a21-4b7e-830b-1176350849f1-image.png
      I use Cmake to build my program and I included
      find_package(Qt6 REQUIRED COMPONENTS Widgets)
      target_link_libraries(mytarget PRIVATE Qt6::Widgets)
      in my CMakeLists.txt
      I don't know how to deal with this!!

      SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Are you also linking the QtQuick related modules ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      L 2 Replies Last reply
      0
      • SGaistS SGaist

        Hi,

        Are you also linking the QtQuick related modules ?

        L Offline
        L Offline
        linhnobi
        wrote on last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • SGaistS SGaist

          Hi,

          Are you also linking the QtQuick related modules ?

          L Offline
          L Offline
          linhnobi
          wrote on last edited by
          #4

          @SGaist Do you mean import QtQuick.Dialog 1.3 in the qml file ???

          SGaistS 1 Reply Last reply
          0
          • L linhnobi

            @SGaist Do you mean import QtQuick.Dialog 1.3 in the qml file ???

            SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            No, with CMake, as you do with the widgets module.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            L 1 Reply Last reply
            0
            • SGaistS SGaist

              No, with CMake, as you do with the widgets module.

              L Offline
              L Offline
              linhnobi
              wrote on last edited by
              #6

              @SGaist Is it, right ?? b2651ccd-c6e0-4507-97c8-947216ebb7a9-image.png
              86271614-77cf-4195-a1c9-3093cc7744da-image.png

              SGaistS 1 Reply Last reply
              0
              • L linhnobi

                @SGaist Is it, right ?? b2651ccd-c6e0-4507-97c8-947216ebb7a9-image.png
                86271614-77cf-4195-a1c9-3093cc7744da-image.png

                SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @linhnobi requiring and using is not the same thing. You don't link your application to these modules.

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                L 1 Reply Last reply
                0
                • SGaistS SGaist

                  @linhnobi requiring and using is not the same thing. You don't link your application to these modules.

                  L Offline
                  L Offline
                  linhnobi
                  wrote on last edited by
                  #8

                  @SGaist So what do I need to do next?

                  SGaistS 1 Reply Last reply
                  0
                  • L linhnobi

                    @SGaist So what do I need to do next?

                    SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    Add all the modules to the target_link_libraries call.

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    0

                    • Login

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups
                    • Search
                    • Get Qt Extensions
                    • Unsolved