Philippe Elie wrote:
John Levon wrote:

#10 0x4038c62a in QDialog::~QDialog () from /usr/lib/qt/lib/libqt-mt.so.3
#11 0x40380d99 in QPrintDialog::~QPrintDialog ()
   from /usr/lib/qt/lib/libqt-mt.so.3
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
you have a name conflict between your
QPrintDialog and the QT class QPrintDialog.

nm show than all QxxxDialog dtor are marked as 'W'
(weak symbol) and so on if the linker see a "normal"
symbol with the same name it link with this symbol w/o
any error.

Adding a dtor in the lyx class cure the problem
because the symbol is no longer a weak symbol and
ld prefer this symbol over the symbol in qt libs
oops, I'm sure it's obvious for you but I forget to
mention than you need to rename your class, the above
is not a right fix.

--
regards,
Phil

Reply via email to