How to import the Statement in our .qml file
-
This post is deleted!
-
@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? -
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 -
@sankarapandiyan Do you have a QML file in your application?
-
@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 -
yes i got it @jsulm