diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 36bc2b73..6ce33b58 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,6 +22,12 @@ jobs: qtVersion: '6.8.0' buildArch: 'Universal' skipPlugins: 'true' + osSuffix: '-680' + - runner: 'macos-14' + qtVersion: '6.8.1' + buildArch: 'Universal' + skipPlugins: 'true' + osSuffix: '-681' # - runner: 'macos-13' # qtVersion: '5.15.2' # osSuffix: '_legacy' diff --git a/main.cpp b/main.cpp index 8287204b..0f7fbc12 100755 --- a/main.cpp +++ b/main.cpp @@ -3,32 +3,8 @@ class MainWindow : public QMainWindow { public: MainWindow(QWidget *parent = nullptr) : QMainWindow{parent} { - a.setText("A"); - b.setText("B"); - c.setText("C"); - d.setText("D"); - a.setChecked(true); - c.setChecked(true); - mainLayout.addWidget(&a); - mainLayout.addWidget(&b); - scrollLayout.addWidget(&c); - scrollLayout.addWidget(&d); - scrollWidget.setLayout(&scrollLayout); - scrollArea.setWidget(&scrollWidget); - mainLayout.addWidget(&scrollArea); - central.setLayout(&mainLayout); - setCentralWidget(¢ral); }; private: - QRadioButton a; - QRadioButton b; - QRadioButton c; - QRadioButton d; - QWidget central; - QVBoxLayout mainLayout; - QScrollArea scrollArea; - QWidget scrollWidget; - QVBoxLayout scrollLayout; }; int main(int argc, char *argv[]) {