Edward Welbourne
QtCore
Senior SW Engineer @ TQtC
IRC: Eddy
CristiΓ‘n Maureira-Fredes
PySide
R&D Manager @ TQtC
IRC: cmaureir
π qtinfo.dev/quipsThere are many ways to contribute to Qt.
To quote QUIP 2 …
β More information at wiki.qt.io/How_to_Create_Qt_Account
git clone https://code.qt.io/qt/qt5.git
cd qt5/
./init-repository
init-repository
has many options!
./configure <ARGS>
cmake --build . --parallel
cmake --install .
β οΈ You don't need to build everything!
Pick-to:
footer
refs/for/dev
branch. (*) You can also use a local branch to work on your patch instead of using dev
.
git blame
can tell you who's worked on this code before. Pick-to
footer:
import QtQuick 2.0
Rectangle {
id: screen
width: 490; height: 720
SystemPalette { id: activePalette }
Item {
width: parent.width
anchors {
top: parent.top;
bottom: toolBar.top
}
Image {
id: background
anchors.fill: parent
source: "../background.jpg"
}
}
…
}
import sys
from PySide6.QtWidgets import (QApplication,
QMainWindow,
QPushButton)
class MainWindow(QMainWindow):
def __init__(self, parent=None):
super().__init__(parent)
self.b = QPushButton("My Button", self)
self.b.clicked.connect(self.handle)
def handle(self):
self.button.setText("Ready")
if __name__ == "__main__":
app = QApplication()
window = MainWindow()
window.show()
sys.exit(app.exec())
The Qt Company | Akademy 2021