Skip to content

Commit

Permalink
Fix Makefile.qt4 for Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
rhcad committed Feb 23, 2012
1 parent 9218516 commit 2a6d799
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions source/public/mk/Makefile.qt4
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ INCLUDES += -I"$(QT4_INCLUDE)" \
-I"$(QT4_INCLUDE)/QtGui" \
-I"$(QT4_INCLUDE)/qtmain" \
-I"$(OBJDIR)" \
-DQT_LARGEFILE_SUPPORT -DQT_CORE_LIB -DQT_GUI_LIB
-DQT_CORE_LIB -DQT_GUI_LIB

ifdef IS_WIN
RCFILES =$(wildcard *.rc)
Expand All @@ -37,8 +37,10 @@ endif

LIBS += $(LIBPATHFLAG)"$(QT4_LIB)" \
$(LIBFLAG)QtCore$(QTLIB_EXT) \
$(LIBFLAG)QtGui$(QTLIB_EXT) \
$(LIBFLAG)qtmain$(LIBEND)
$(LIBFLAG)QtGui$(QTLIB_EXT)
ifdef IS_WIN
LIBS += $(LIBFLAG)qtmain$(LIBEND)
endif

UIFILES =$(wildcard *.ui)
UIHFILES =$(addprefix $(OBJDIR)/ui_, $(UIFILES:.ui=.h))
Expand Down
2 changes: 1 addition & 1 deletion source/uidemo/qtapp1/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ROOTDIR =../../..
PROJNAME =qtapp1
APPTYPE =qtconsole
APPTYPE =console

include $(ROOTDIR)/config.mk

Expand Down
2 changes: 1 addition & 1 deletion source/uidemo/qtapp2/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ROOTDIR =../../..
PKGNAME =uidemo
PROJNAME =qtapp2
APPTYPE =qtwin
APPTYPE =qt

include $(ROOTDIR)/config.mk

Expand Down

0 comments on commit 2a6d799

Please sign in to comment.