Initial window
This commit is contained in:
commit
416c4dee32
4 changed files with 91 additions and 0 deletions
21
.qmake.stash
Normal file
21
.qmake.stash
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
QMAKE_CXX.QT_COMPILER_STDCXX = 201703L
|
||||||
|
QMAKE_CXX.QMAKE_GCC_MAJOR_VERSION = 12
|
||||||
|
QMAKE_CXX.QMAKE_GCC_MINOR_VERSION = 2
|
||||||
|
QMAKE_CXX.QMAKE_GCC_PATCH_VERSION = 1
|
||||||
|
QMAKE_CXX.COMPILER_MACROS = \
|
||||||
|
QT_COMPILER_STDCXX \
|
||||||
|
QMAKE_GCC_MAJOR_VERSION \
|
||||||
|
QMAKE_GCC_MINOR_VERSION \
|
||||||
|
QMAKE_GCC_PATCH_VERSION
|
||||||
|
QMAKE_CXX.INCDIRS = \
|
||||||
|
/usr/include/c++/12.2.1 \
|
||||||
|
/usr/include/c++/12.2.1/x86_64-pc-linux-gnu \
|
||||||
|
/usr/include/c++/12.2.1/backward \
|
||||||
|
/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include \
|
||||||
|
/usr/local/include \
|
||||||
|
/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include-fixed \
|
||||||
|
/usr/include
|
||||||
|
QMAKE_CXX.LIBDIRS = \
|
||||||
|
/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1 \
|
||||||
|
/usr/lib \
|
||||||
|
/lib
|
20
3dobj-renderer.pro
Normal file
20
3dobj-renderer.pro
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
######################################################################
|
||||||
|
# Automatically generated by qmake (3.1) Fri Apr 28 15:33:24 2023
|
||||||
|
######################################################################
|
||||||
|
|
||||||
|
TEMPLATE = app
|
||||||
|
TARGET = 3dobj-renderer
|
||||||
|
INCLUDEPATH += .
|
||||||
|
|
||||||
|
# You can make your code fail to compile if you use deprecated APIs.
|
||||||
|
# In order to do so, uncomment the following line.
|
||||||
|
# Please consult the documentation of the deprecated API in order to know
|
||||||
|
# how to port your code away from it.
|
||||||
|
# You can also select to disable deprecated APIs only up to a certain version of Qt.
|
||||||
|
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
||||||
|
|
||||||
|
# Input
|
||||||
|
SOURCES += main.cpp
|
||||||
|
FORMS += mainwindow.ui
|
||||||
|
|
||||||
|
QT += core gui widgets
|
12
main.cpp
Normal file
12
main.cpp
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
#include <QtWidgets/QApplication>
|
||||||
|
#include <QMainWindow>
|
||||||
|
#include "ui_mainwindow.h"
|
||||||
|
|
||||||
|
int main(int argc, char **argv) {
|
||||||
|
QApplication app(argc, argv);
|
||||||
|
QMainWindow w;
|
||||||
|
Ui::MainWindow ui;
|
||||||
|
ui.setupUi(&w);
|
||||||
|
w.show();
|
||||||
|
return app.exec();
|
||||||
|
}
|
38
mainwindow.ui
Normal file
38
mainwindow.ui
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<ui version="4.0">
|
||||||
|
<class>MainWindow</class>
|
||||||
|
<widget class="QMainWindow" name="MainWindow">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>800</width>
|
||||||
|
<height>600</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="windowTitle">
|
||||||
|
<string>MainWindow</string>
|
||||||
|
</property>
|
||||||
|
<widget class="QWidget" name="centralwidget">
|
||||||
|
<layout class="QGridLayout" name="gridLayout_2">
|
||||||
|
<property name="leftMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="topMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="rightMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="bottomMargin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="spacing">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
<resources/>
|
||||||
|
<connections/>
|
||||||
|
</ui>
|
Loading…
Reference in a new issue