Update Makefile for Qt5
authorDmitriy Morozov <dmitriy@mrzv.org>
Wed, 04 Nov 2015 10:42:25 -0800
changeset 19 04a7e1ba22c4
parent 18 0be066f6bb5b
child 20 5c5b7b225081
Update Makefile for Qt5
Makefile
--- a/Makefile	Wed Nov 04 10:34:25 2015 -0800
+++ b/Makefile	Wed Nov 04 10:42:25 2015 -0800
@@ -4,14 +4,14 @@
 
 CXX=g++
 
-QT_CFLAGS = -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4
-QT_LIBS = -lQtGui -lQtCore
+QT_CFLAGS = -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I/usr/include/qt
+QT_LIBS = -lQt5Gui -lQt5Core
 CPPFLAGS += $(QT_CFLAGS)
 LIBS += -lipecanvas -lipecairo -lipe $(QT_LIBS) $(CAIRO_LIBS)
 DESTDIR=/usr/bin
 
-MOC=moc-qt4
-UIC=uic-qt4
+MOC=moc
+UIC=uic
 
 OBJECTS = mainwindow.o moc_mainwindow.o canvasview.o moc_canvasview.o \
 		  timelabel.o moc_timelabel.o