[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-source-highlight] Compilation failures using qmake + mingw / m
From: |
Lorenzo Bettini |
Subject: |
Re: [Help-source-highlight] Compilation failures using qmake + mingw / msvc |
Date: |
Thu, 19 Nov 2009 19:34:52 +0100 |
User-agent: |
Thunderbird 2.0.0.23 (Windows/20090812) |
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
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}
#}
- Re: [Help-source-highlight] Compilation failures using qmake + mingw / msvc, (continued)
- Re: [Help-source-highlight] Compilation failures using qmake + mingw / msvc, Lorenzo Bettini, 2009/11/18
- Re: [Help-source-highlight] Compilation failures using qmake + mingw / msvc, Matthias Pospiech, 2009/11/18
- Re: [Help-source-highlight] Compilation failures using qmake + mingw / msvc, Lorenzo Bettini, 2009/11/18
- Re: [Help-source-highlight] Compilation failures using qmake + mingw / msvc, Matthias Pospiech, 2009/11/18
- Re: [Help-source-highlight] Compilation failures using qmake + mingw / msvc, Lorenzo Bettini, 2009/11/18
- Re: [Help-source-highlight] Compilation failures using qmake + mingw / msvc, Matthias Pospiech, 2009/11/18
- Re: [Help-source-highlight] Compilation failures using qmake + mingw / msvc, Lorenzo Bettini, 2009/11/18
- Re: [Help-source-highlight] Compilation failures using qmake + mingw / msvc, Lorenzo Bettini, 2009/11/18
- Re: [Help-source-highlight] Compilation failures using qmake + mingw / msvc, Lorenzo Bettini, 2009/11/18
- Re: [Help-source-highlight] Compilation failures using qmake + mingw / msvc, Lorenzo Bettini, 2009/11/18
- Re: [Help-source-highlight] Compilation failures using qmake + mingw / msvc,
Lorenzo Bettini <=
- Re: [Help-source-highlight] Compilation failures using qmake + mingw / msvc, Matthias Pospiech, 2009/11/19
- Re: [Help-source-highlight] Compilation failures using qmake + mingw / msvc, Lorenzo Bettini, 2009/11/19