Sunday, April 28, 2024
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 13531  / 3 Years ago, tue, august 24, 2021, 1:21:22

QML at the moment lacks basic system commands, so I am looking for the most simple template to write to /tmp/text.txt.


More From » application-development

 Answers
0

New File or Project. Choose the QML App with C++ Plugin. qmake is generally easier to pick up than cmake.
New File or Project



Choose a name for your project. Next.
Choose a name for your project



Usually you can just choose the default framework selected. Next.
Usually you can just choose the default framework selected.



Add Bazaar Version Control, as it works well with Launchpad. You can try Git too if you are familiar with it. Launchpad supports both, but Git support is still pretty new as of July 2016.
Add Bazaar Version Control, as it works well with Launchpad.



Edit your header, adding the three lines from the comments.
Edit your header, adding the three lines from the comments.



Edit your source, adding just the function on the bottom.
Edit your source, adding just the function on the bottom.



Edit your Main.qml file, adding just the component on the bottom.
Edit your Main.qml file, adding just the component on the bottom.



Run your application, and find the text file in your build directory. The build directory is in the same directory of your project directory, and it has the word "build-" prefixed to the beginning.
Run your application, and find the text file in your build directory.


[#26067] Wednesday, August 25, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
jokaned

Total Points: 315
Total Questions: 116
Total Answers: 119

Location: Somalia
Member since Mon, Feb 27, 2023
1 Year ago
;