can not set permissions for usr/include/x11 qt
-
how to solve it?
pro.fileTEMPLATE = app
CONFIG += console c++17
CONFIG -= app_bundle
CONFIG -= qtSOURCES +=
linuxkbhit.cpp
main.cppHEADERS +=
linuxkbhit.h
LIBS += -L/usr/X11/lib -lX11
QT += x11extras
LIBS += -lX11 -
how to solve it?
pro.fileTEMPLATE = app
CONFIG += console c++17
CONFIG -= app_bundle
CONFIG -= qtSOURCES +=
linuxkbhit.cpp
main.cppHEADERS +=
linuxkbhit.h
LIBS += -L/usr/X11/lib -lX11
QT += x11extras
LIBS += -lX11 -
@JacobNovitsky
You should not be doing anything which would cause to (try to) write/save to/usr/include/...anything --- that's a system area!What are you doing to make this happen? You didn't read in
/usr/include/X11/Xlib.h(perhaps while following definitions), and then accidentally change it, did you?HEADERS += linuxkbhit.hI might be mistaken, but I would have expected the first line to end with a
\, i.e.HEADERS += \ linuxkbhit.hSimilarly
SOURCES += linuxkbhit.cpp main.cppought be
SOURCES += \ linuxkbhit.cpp \ main.cppIs that relevant?
You have two
LIBS +=lines both adding-lX11. Probably no harm, but just commenting.
