[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-cygwin
Subject:    RE: ld linker problems
From:       "Ralf Habacker" <Ralf.Habacker () freenet ! de>
Date:       2002-08-12 16:51:51
[Download RAW message or body]

> >one question, are using a binary qt release of do you have compiled qt by
> >your own ?
>
> I get the same results with both the binary qt release and my self-compiled
> version
>
> >Please compile the c++ file with the -save-temps option and look into the
> >.s file for the requested qt symbol. There must be a symbol
> >like ___5QFontRC7QStringiib, which indicates the requested constructor.
>

Is this symbol in the intermediate .s file ? If not, how is looks like ?


> Is there documented somewhere the rules for constructing this symbol?

Yes, there are some locations, which document the name mangling system. See
http://www.delorie.com/gnu/docs/gcc/gxxint_15.html  for example


  ___5QFontRC7QStringiib
      |    +--------+|||forth parameter bool
      + class name  |||
	              ||third parameter (int)
                    |second parameter (int)
                    | first parameter QString &
>
> >Then look into the qt 2 import library for this symbol
> >$ nm /usr/local/lib/qt2/lib/libqt.dll.a  | grep "5QFontRC7QStringiib
> >If it is not there, than you have a problem with your qt  libary.
>
> I'll try this and let you know how it goes, however, since I can call the
> constructor in a test program I kinda think it's there
>

_______________________________________________
kde-cygwin mailing list
kde-cygwin@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-cygwin
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic