Browse Source

add .gitignore

master
Тим 11 months ago
commit
5f5b1fbebb
5 changed files with 75 additions and 0 deletions
  1. 3
    0
      .gitignore
  2. 11
    0
      WBFace.cpp
  3. 15
    0
      WBFace.h
  4. 35
    0
      WineBottle.pro
  5. 11
    0
      main.cpp

+ 3
- 0
.gitignore View File

@@ -0,0 +1,3 @@
Debug
Release
*.pro.user*

+ 11
- 0
WBFace.cpp View File

@@ -0,0 +1,11 @@
#include "WBFace.h"

WBFace::WBFace(QWidget *parent)
: QWidget(parent)
{
}

WBFace::~WBFace()
{

}

+ 15
- 0
WBFace.h View File

@@ -0,0 +1,15 @@
#ifndef WBFACE_H
#define WBFACE_H

#include <QWidget>

class WBFace : public QWidget
{
Q_OBJECT

public:
WBFace(QWidget *parent = 0);
~WBFace();
};

#endif // WBFACE_H

+ 35
- 0
WineBottle.pro View File

@@ -0,0 +1,35 @@
#-------------------------------------------------
#
# Project created by QtCreator 2018-07-30T11:37:00
#
#-------------------------------------------------

QT += core gui widgets

TARGET = WineBottle
TEMPLATE = app

# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# 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

CONFIG += c++11

SOURCES += \
main.cpp \
WBFace.cpp

HEADERS += \
WBFace.h

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

+ 11
- 0
main.cpp View File

@@ -0,0 +1,11 @@
#include "WBFace.h"
#include <QApplication>

int main(int argc, char *argv[])
{
QApplication a(argc, argv);
WBFace w;
w.show();

return a.exec();
}

Loading…
Cancel
Save