Bo Peng a écrit :
Why do not you try qt3 first? I know you mainly work on qt4, but qt3
is more of a convern of the majority.
I am sure there will be enough hand for qt3 target on Windows: Enrico, Joost, Michael...
I am developing for Qt4 so that's an obvious choice.

Checking for main() in C library socket... no
Checking for main() in C library nsl... no

I will separate them out since they are only used in client (?).
I guess so, plus socket.h, etc. You will need input from others.


Generating  src\config.h ...
Checking for main() in C library aspell... no
Checking for main() in C library pspell... no
Checking for main() in C library ispell... no
Warning: Can not locate any spell checker

I actaully do not have any, but you may have one of them.
Yes, I would like to compile with Aspell support.


  |#include "zlib.h"
scons: Configure: yes

Good.

scons: Configure: Checking for QApplication qapp() in C++ library QtCore...
.sconf_temp\conftest_2.cpp <-
  |
  |
  |#include "QtGui/QApplication"
  |
  |int
  |main() {
  |  QApplication qapp();
  |return 0;
  |}
  |
g++ -o .sconf_temp\conftest_2.o -c -ID:\program\Qt\4.1\include -ID:\program\Qt\4.1\include -ID:\mingw\include -IC:\MinGW\include .sconf_temp\conftest_2.cpp g++ -o .sconf_temp\conftest_2.exe .sconf_temp\conftest_2.o -Ldebug\win32-qt4\libs -LD:\program\Qt\4.1\lib -LD:\program\Qt\4.1\lib -LD:\mingw\lib -lz -lQtCore D:\mingw\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot find -lQtCore
collect2: ld returned 1 exit status
scons: Configure: no

Quote: Construct line 372. Three methods are checked, the third one
should work. I will make the second one work later.

 # first: try pkg_config
 if env['HAS_PKG_CONFIG']:
   succ = conf.CheckPackage('QtCore')
   env['QT4_PKG_CONFIG'] = succ
 # second: try to link to it
 if not succ:
   # FIXME: under linux, I can test the following perfectly
   # However, under windows, lib names need to passed as libXXX4.a ...
   succ = conf.CheckLibWithHeader('QtCore', 'QtGui/QApplication',
'c++', 'QApplication qapp();')
 # third: try to look up the path
 if not succ:
   succ = True
   for lib in ['QtCore', 'QtGui', 'Qt3Support']:
     # windows version has something like QtGui4 ...
     if not (os.path.isfile(os.path.join(env.subst('$QT_LIB_PATH'),
'lib%s.a' % lib)) or \
       os.path.isfile(os.path.join(env.subst('$QT_LIB_PATH'),
'lib%s4.a' % lib))):
       succ = False
       break

<.... ignore...>

Nothing alarming.
If you say so...


As for your multiple path problem, I do not see a solution yet. I
tried 'path1:path2' but scons complains that it is not a valid path.
I need that for Aspell

Bo

Thanks,
Abdel.





Reply via email to