######################################################################
# Automatically generated by qmake (3.1) Thu May 9 19:15:56 2019
######################################################################
TEMPLATE = app
TARGET = 1
INCLUDEPATH += .
# The following define makes your compiler warn you 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
# Input
HEADERS += mainwindow.h
FORMS += mainwindow.ui
SOURCES += main.cpp mainwindow.cpp
qmake -project
в папке проекта.cyrill@debian:~$ su
Password:
root@debian:/home/cyrill# apt-get install gcc
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gir1.2-keybinder-3.0 gnome-session-canberra libkeybinder-3.0-0
libmate-panel-applet-4-1 libmatedict6 mate-desktop-common mate-utils-common
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
binutils gcc-6 libasan3 libc-dev-bin libc6-dev libcc1-0 libcilkrts5
libgcc-6-dev libitm1 liblsan0 libmpx2 libtsan0 libubsan0 linux-libc-dev
manpages-dev
Suggested packages:
binutils-doc gcc-multilib make autoconf automake libtool flex bison gdb
gcc-doc gcc-6-multilib gcc-6-doc gcc-6-locales libgcc1-dbg libgomp1-dbg
libitm1-dbg libatomic1-dbg libasan3-dbg liblsan0-dbg libtsan0-dbg
libubsan0-dbg libcilkrts5-dbg libmpx2-dbg libquadmath0-dbg glibc-doc
The following NEW packages will be installed:
binutils gcc gcc-6 libasan3 libc-dev-bin libc6-dev libcc1-0 libcilkrts5
libgcc-6-dev libitm1 liblsan0 libmpx2 libtsan0 libubsan0 linux-libc-dev
manpages-dev
0 upgraded, 16 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/20.1 MB of archives.
After this operation, 90.9 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Media change: please insert the disc labeled
'Debian GNU/Linux 9.7.0 _Stretch_ - Official amd64 DVD Binary-1 20190123-19:36'
in the drive '/media/cdrom/' and press [Enter]
'Debian GNU/Linux 9.7.0 _Stretch_ - Official amd64 DVD Binary-1 20190123-19:36'
in the drive '/media/cdrom/' and press [Enter]
20% [Working]
'Debian GNU/Linux 9.7.0 _Stretch_ - Official amd64 DVD Binary-1 20190123-19:36'
in the drive '/media/cdrom/' and press [Enter]
deb http://deb.debian.org/debian stretch main contrib non-free
deb-src http://deb.debian.org/debian stretch main contrib non-free
deb http://deb.debian.org/debian stretch-updates main contrib non-free
deb-src http://deb.debian.org/debian stretch-updates main contrib non-free
deb http://security.debian.org/debian-security/ stretch/updates main contrib non-free
deb-src http://security.debian.org/debian-security/ stretch/updates main contrib non-free
cyrill@debian:~/Documents/Projects/1$ ~/Qt/5.12.3/gcc_64/bin/qmake -project
Project ERROR: Cannot run compiler 'g++'. Output:
===================
===================
Maybe you forgot to setup the environment?
cyrill@debian:~/Documents/Projects/1$ su
Password:
root@debian:/home/cyrill/Documents/Projects/1# cd
root@debian:~# apt-get install gcc
Reading package lists... Done
Building dependency tree
Reading state information... Done
gcc is already the newest version (4:6.3.0-4).
The following packages were automatically installed and are no longer required:
gir1.2-keybinder-3.0 gnome-session-canberra libkeybinder-3.0-0
libmate-panel-applet-4-1 libmatedict6 mate-desktop-common mate-utils-common
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
root@debian:~#