Can't build qt-copy on windows (pcre/system include paths)

Benjamin Reed rangerrick at gmail.com
Fri Feb 15 21:34:08 GMT 2008


On Fri, Feb 15, 2008 at 3:16 PM, Benjamin Reed <rangerrick at gmail.com> wrote:

>  It appears that editing the .qmake.cache that's generated by configure
>  so that it uses QMAKE_CFLAGS_DEPS and QMAKE_CXXFLAGS_DEPS instead of
>  QMAKE_CFLAGS and QMAKE_CXXFLAGS, it works fine.
>
>  On the other hand, who knows how many people who are expecting the
>  current, specific (put it in the front) behavior.  Perhaps there
>  should be equivalent to -isysroot for configure which will put them
>  later on the list?

Answering my own question, things fail later in jpeg (and probably
other stuff).  On the other hand, I have a stupidly-simple fix which
should work for everyone:

Index: configure
===================================================================
--- configure	(revision 775334)
+++ configure	(working copy)
@@ -811,6 +811,11 @@
             VAL=`echo $1 | sed 's,-D,,'`
         fi
         ;;
+    -isystem)
+        VAR="add_isystempath"
+        shift
+        VAL="$1"
+        ;;
     -I?*|-I)
         VAR="add_ipath"
         if [ "$1" = "-I" ]; then
@@ -1666,6 +1671,9 @@
     add_ipath)
         I_FLAGS="$I_FLAGS -I\"${VAL}\""
         ;;
+    add_isystempath)
+        I_FLAGS="$I_FLAGS -isystem \"${VAL}\""
+        ;;
     add_lpath)
         L_FLAGS="$L_FLAGS -L\"${VAL}\""
         ;;


...any reason not to make a patch out of this and send it to trolltech?


-- 
Benjamin Reed a.k.a. Ranger Rick
Fink, KDE, and Mac OS X development
http://www.racoonfink.com/




More information about the kde-core-devel mailing list