Skip to content

Instantly share code, notes, and snippets.

@kassane
Created June 22, 2018 15:52
Show Gist options
  • Save kassane/36b9608ffd3657a1a1c4016519c403bf to your computer and use it in GitHub Desktop.
Save kassane/36b9608ffd3657a1a1c4016519c403bf to your computer and use it in GitHub Desktop.
Build Nana Library on QMake
######################################################################
# Automatically generated by qmake (3.1) Fri Jun 22 12:31:36 2018
######################################################################
#TEMPLATE = app
QT -= gui core
TARGET = HelloWorld
CONFIG += c++17
# 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
# NANA REQUESTS
NANALIB = -lnana -lX11 -lpthread -lrt -lXft -lpng -lasound -lfontconfig
NANAINC = usr/include
#include
#INCLUDEPATH += $$NANAINC
#Libs
LIBS += $$NANALIB
# Input
SOURCES += main.cpp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment