Re: Compilation failures using qmake + mingw / msvc
Lorenzo Bettini <[email protected]> Thu, 19 Nov 2009 19:34:52 +0100
| Newsgroups | gmane.comp.gnu.source-highlight.general |
|---|---|
| Message-ID | <[email protected]> |
Lorenzo Bettini wrote: > Lorenzo Bettini wrote: >> Here you find the version I've been working on this evening under >> mingw/windows >> >> http://gdn.dsi.unifi.it/~bettini/binaries/source-highlight-qmake-3.1.2.tar.gz >> >> >> and it solves the errors with mkdir and other things. >> >> For the moment, use CONFIG+=static and do not build dll (since they >> use a different naming and it still has to be tweaked a little bit, >> not to mention that I know exceptions across dlls do not work well...). >> > > oh, and I forgot: > > make sure to run qmake passing USE_MINGW=1 so that it solves the problem > with mkdir. > > cheers > Lorenzo > Another thing: use this modified version of defines.pri (which sets CONFIG += console), otherwise no output is shown on stdout on windows (I was about to go mad about that, since I couldn't really figure out what was happening ;) cheers Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# lbetto, 16080134 (GNU/Linux User # 158233) HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com http://www.myspace.com/supertrouperabba BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com http://www.gnu.org/software/src-highlite http://www.gnu.org/software/gengetopt http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net _______________________________________________ Help-source-highlight mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-source-highlight
defines.pri
(text/plain, 450 B)
VERSION = 3.0.1
CONFIG -= qt
CONFIG += console
DEFINES += ABSOLUTEDATADIR=\\\"/usr/local/share/source-highlight/\\\" \
VERSION=\\\"3.1.2\\\" \
LIBRARY_VERSION=\\\"3.0.0\\\" \
PACKAGE=\\\"source-highlight\\\" \
RELATIVEDATADIR=\\\"../share/source-highlight\\\"
LIBRARY_NAME = source-highlight
ADDITIONAL_LIBRARIES = -lboost_regex
#!isEmpty(USE_MINGW) {
#LIBRARY_LIB = $${LIBRARY_NAME}3
#} else {
LIBRARY_LIB = $${LIBRARY_NAME}
#}