Answer the question
In order to leave comments, you need to log in
How to run a program in QT creator?
Hello. I installed the program according to this instruction https://redos.red-soft.ru/base/arm/ide/qt-creator/...
Now, firstly, I just try to run the first code through QML:
man.qml:
import QtQuick 2.12
import QtQuick.Window 2.12
Window {
id: root
width: 640
height: 480
visible: true
title: qsTr("Hello World")
Tile {
width: root.width / 4
height: root.height / 4
}
}
import QtQuick 2.0
Rectangle {
id: root
color: "lightgreen"
radius: 10
border.color: "black"
border.width: 1
Text {
id: _firstText
anchors.centerIn: root
text: "1"
font {
pointSize: Math.min(root.width, root.height) / 3
bold: true
}
}
}
#include <iostream>
using namespace std;
int main() {
cout << "Hello wolrd" << endl;
return 0;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question