Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Set QT_CFLAGS for gnuplot >= 5 compilation
#sudo apt install qt5-default
#sudo apt install libqt5svg5-dev
#-fPIC !!!
export pre="/usr/include/x86_64-linux-gnu/qt5"
export QT_CFLAGS="-I $pre/QtSvg -I $pre/QtConcurrent -I $pre/QtConcurrent -I $pre/QtDBus -I $pre/QtNetwork -I $pre/QtOpenGLExtensions -I $pre/QtPrintSupport -I $pre/QtTest -I $pre/QtCore -I $pre/QtGui -I $pre/QtOpenGL -I $pre/QtPlatformHeaders -I $pre/QtSql -I $pre/QtWidgets -I $pre/QtXml -I $pre -fPIC"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment