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. How to import the Statement in our .qml file

How to import the Statement in our .qml file

Scheduled Pinned Locked Moved Solved General and Desktop
7 Posts 2 Posters 435 Views
  • 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.
  • sankarapandiyanS Offline
    sankarapandiyanS Offline
    sankarapandiyan
    wrote on last edited by sankarapandiyan
    #1
    This post is deleted!
    jsulmJ 1 Reply Last reply
    0
    • sankarapandiyanS sankarapandiyan

      This post is deleted!

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @sankarapandiyan said in How to import the Statement in our .qml file:

      How to open the .qml file in qt creator

      Like any other text file?
      What is the problem?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • sankarapandiyanS Offline
        sankarapandiyanS Offline
        sankarapandiyan
        wrote on last edited by
        #3

        To use the C++ library in your application, add the following configuration option to your .pro file:

        QT += bluetooth
        To use the classes of the module in your application you need the following import statement in your .qml file:

        import QtBluetooth 5.12

        These are the Two steps ,
        I Fix the first step, Second One is my doubt How to enable the import qtbluetooth 5.12 in . qml file

        jsulmJ 1 Reply Last reply
        0
        • sankarapandiyanS sankarapandiyan

          To use the C++ library in your application, add the following configuration option to your .pro file:

          QT += bluetooth
          To use the classes of the module in your application you need the following import statement in your .qml file:

          import QtBluetooth 5.12

          These are the Two steps ,
          I Fix the first step, Second One is my doubt How to enable the import qtbluetooth 5.12 in . qml file

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @sankarapandiyan Do you have a QML file in your application?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          sankarapandiyanS 1 Reply Last reply
          0
          • jsulmJ jsulm

            @sankarapandiyan Do you have a QML file in your application?

            sankarapandiyanS Offline
            sankarapandiyanS Offline
            sankarapandiyan
            wrote on last edited by sankarapandiyan
            #5

            @jsulm No , its automaticaly created or create it by own ?

            jsulmJ 1 Reply Last reply
            0
            • sankarapandiyanS sankarapandiyan

              @jsulm No , its automaticaly created or create it by own ?

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @sankarapandiyan Well, it is your application, right? If you want to use QML for UI then you have to create and edit QML files.
              https://doc.qt.io/qt-5/qtqml-index.html

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              2
              • sankarapandiyanS Offline
                sankarapandiyanS Offline
                sankarapandiyan
                wrote on last edited by
                #7

                yes i got it @jsulm

                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