[QScintilla] examples-Qt4 on OSX 10.4 link errors: multiple symbol .objc_class_name_QNS

PPK-Webprogramm ciz at ciz.ch
Thu Aug 23 10:10:00 BST 2007


Bob Tanner ha scritto:
> Build Qt-4.3.1 like this:
>
> |$ tar -xvzf qt-mac-opensource-src-4.3.1.tar.gz
> $ cd qt-mac-opensource-src-4.3.1
> $ ./configure -prefix /Developer/qt -qt-zlib -qt-libpng -qt-libjpeg
> -universal -sdk /Developer/SDKs/MacOSX10.4u.sdk
> $ make
> $ ./configure -prefix /Developer/qt -qt-zlib -qt-libpng -qt-libjpeg
> -universal -sdk /Developer/SDKs/MacOSX10.4u.sdk -static -release
> $ make sub-src
> $ sudo make install
>
> Build QScintilla like this:
>
> ||$ tar -xvzf QScintilla-1.73-gpl-2.1.tar.gz
> $ cd QScintilla-1.73-gpl-2.1/Qt4/
> $ qmake qscintilla.pro
> $ make
> $ sudo make install
>   
The Original   QScintilla source code can not build on mac  if  QT4 is

[-static -release] on MAC OSX  Tiger or ++  you must rewrite QT4.pro !...

OR you take a ready rewrite QScintilla staticlib from

Try.....
<- terminal ->
svn co http://juffed.googlecode.com/svn/trunk/Qedit_Scite/ Qedit_Scite
( it contains a tidy + zip + QScintilla staticlib )
cd Qed*
qmake
make
<- terminal ->

if you dont have svn...

sudo *port install subversion
*
and you find two sample app on 
/bin_result/

SciteDebug.app  a pending work as XHTML editor .... + tidy clean code
SciteDemo.app  the scintilla qt4 sample

OR try pro file -> 
http://juffed.googlecode.com/svn/trunk/Qedit_Scite/lib_src_scite/Qt4/Qt4.pro
 
http://juffed.googlecode.com/svn/trunk/Qedit_Scite/README.txt

IMO:  this code i can build on window XP , Linux , Mac OSX Tiger Xcode 
latest

MFG  Peter Hohl www.swisse.net

















More information about the QScintilla mailing list