On Fri, 16 Dec 2011 14:56:18 +0100
Laurent Dard <f.couperin(a)online.fr> wrote:
Le 15/12/2011 01:06, Baho Utot a écrit :
kmixapplet.cpp:(.text+0xb98): undefined reference
to
`QString::shared_null' kmixapplet.cpp:(.text+0xba4): undefined
reference to `QStringData::deleteSelf()'
kmixapplet.cpp:(.text+0xbe0): undefined reference to
`QVBoxLayout::QVBoxLayout(QWidget*, int, int, char const*)'
kmixapplet.cpp:(.text+0xc32): undefined reference to
`QBoxLayout::addWidget(QWidget*, int, int)'
QString, QWidget...
What I don't understand is that kmix/kmixapplet.cpp contains
TQString, TQWidget...
Are you building the 3.5.13 version?
tqt.h contains #defines which are interpreted
by the preprocessor, so
for example for TQString, the tqt.h file contains the
#define TQString QString
so the compiler (which is cc1plus) has QString in its input (and not
TQString).