Hello everyone,
I am trying to compile a Qt3 custom widget (named mycanvasview) in QDevelop under Qt4.
I haven't implemented the plugin for the c. widget yet, but I am getting the following errors when I try to compile the classes up to now (mycanvasview, bouncylogo, imageitem).
Even checking "qt3support" under Project properties is useless.
Maybe any problem with paths? What do you think?
Errors example:
debug\mycanvasview.o: In function `ZN12MyCanvasViewC2EP7QWidgetPKc':
C:/QDevelop/mycanvasviewplugin/mycanvasview.cpp:63: undefined reference to `_imp___ZN6QImageC1Ev'
C:/QDevelop/mycanvasviewplugin/mycanvasview.cpp:64: undefined reference to `_imp___ZN6QImage4loadERK7QStringPKc'
debug\mycanvasview.o: In function `ZN12MyCanvasViewC2EP7QWidgetPKc':
C:/QDevelop/mycanvasviewplugin/mycanvasview.cpp:63: undefined reference to `_imp___ZN6QImageC1Ev'
C:/QDevelop/mycanvasviewplugin/mycanvasview.cpp:64: undefined reference to `_imp___ZN6QImage4loadERK7QStringPKc'
To copy to clipboard, switch view to plain text mode
debug\moc_mycanvasview.o: In function `ZN12MyCanvasView6statusERK7QString':
C:/QDevelop/mycanvasviewplugin/debug/moc_mycanvasview.cpp:133: undefined reference to `_imp___ZN11QMetaObject8activateEP7QObjectPKS_iPPv'
debug\moc_mycanvasview.o: In function `ZSt17__verify_groupingPKcjRKSs':
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/locale_facets.tcc:2499: undefined reference to `QFrame::event(QEvent*)'
C
:/MinGW
/bin
/..
/lib
/gcc
/mingw32
/3.4.5
/..
/..
/..
/..
/include
/c
++/3.4.5
/bits
/locale_facets.
tcc:2499: undefined reference to `
QObject::timerEvent(QTimerEvent*)'C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/locale_facets.tcc:2499: undefined reference to `QObject::childEvent(QChildEvent*)'
C
:/MinGW
/bin
/..
/lib
/gcc
/mingw32
/3.4.5
/..
/..
/..
/..
/include
/c
++/3.4.5
/bits
/locale_facets.
tcc:2499: undefined reference to `
QObject::customEvent(QEvent*)'C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/locale_facets.tcc:2499: undefined reference to `QObject::connectNotify(char const*)'
C
:/MinGW
/bin
/..
/lib
/gcc
/mingw32
/3.4.5
/..
/..
/..
/..
/include
/c
++/3.4.5
/bits
/locale_facets.
tcc:2500: undefined reference to `
QObject::disconnectNotify(char const*)'C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/locale_facets.tcc:2500: undefined reference to `QWidget::devType() const'
debug\moc_mycanvasview.o: In function `ZN12MyCanvasView6statusERK7QString':
C:/QDevelop/mycanvasviewplugin/debug/moc_mycanvasview.cpp:133: undefined reference to `_imp___ZN11QMetaObject8activateEP7QObjectPKS_iPPv'
debug\moc_mycanvasview.o: In function `ZSt17__verify_groupingPKcjRKSs':
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/locale_facets.tcc:2499: undefined reference to `QFrame::event(QEvent*)'
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/locale_facets.tcc:2499: undefined reference to `QObject::timerEvent(QTimerEvent*)'
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/locale_facets.tcc:2499: undefined reference to `QObject::childEvent(QChildEvent*)'
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/locale_facets.tcc:2499: undefined reference to `QObject::customEvent(QEvent*)'
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/locale_facets.tcc:2499: undefined reference to `QObject::connectNotify(char const*)'
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/locale_facets.tcc:2500: undefined reference to `QObject::disconnectNotify(char const*)'
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/locale_facets.tcc:2500: undefined reference to `QWidget::devType() const'
To copy to clipboard, switch view to plain text mode
debug\imageitem.o: In function `ZN9ImageItemC2E6QImageP8Q3Canvas':
C:/QDevelop/mycanvasviewplugin/imageitem.cpp:27: undefined reference to `_imp___ZN6QImageC1ERKS_'
C:/QDevelop/mycanvasviewplugin/imageitem.cpp:27: undefined reference to `_imp___ZN7QPixmapC1Ev'
C:/QDevelop/mycanvasviewplugin/imageitem.cpp:28: undefined reference to `_imp___ZNK6QImage6heightEv'
C:/QDevelop/mycanvasviewplugin/imageitem.cpp:28: undefined reference to `_imp___ZNK6QImage5widthEv'
C:/QDevelop/mycanvasviewplugin/imageitem.cpp:31: undefined reference to `_imp___ZN7QPixmap9fromImageERK6QImage6QFlagsIN2Qt19ImageConversionFlagEE'
C
:/QDevelop
/mycanvasviewplugin
/imageitem.
cpp:31: undefined reference to `
QPixmap::~
QPixmap()'C:/QDevelop/mycanvasviewplugin/imageitem.cpp:31: undefined reference to `QPixmap::~QPixmap()'
C
:/QDevelop
/mycanvasviewplugin
/imageitem.
cpp:31: undefined reference to `
QImage::~
QImage()'
debug\imageitem.o: In function `ZN9ImageItemC2E6QImageP8Q3Canvas':
C:/QDevelop/mycanvasviewplugin/imageitem.cpp:27: undefined reference to `_imp___ZN6QImageC1ERKS_'
C:/QDevelop/mycanvasviewplugin/imageitem.cpp:27: undefined reference to `_imp___ZN7QPixmapC1Ev'
C:/QDevelop/mycanvasviewplugin/imageitem.cpp:28: undefined reference to `_imp___ZNK6QImage6heightEv'
C:/QDevelop/mycanvasviewplugin/imageitem.cpp:28: undefined reference to `_imp___ZNK6QImage5widthEv'
C:/QDevelop/mycanvasviewplugin/imageitem.cpp:31: undefined reference to `_imp___ZN7QPixmap9fromImageERK6QImage6QFlagsIN2Qt19ImageConversionFlagEE'
C:/QDevelop/mycanvasviewplugin/imageitem.cpp:31: undefined reference to `QPixmap::~QPixmap()'
C:/QDevelop/mycanvasviewplugin/imageitem.cpp:31: undefined reference to `QPixmap::~QPixmap()'
C:/QDevelop/mycanvasviewplugin/imageitem.cpp:31: undefined reference to `QImage::~QImage()'
To copy to clipboard, switch view to plain text mode
Thanks!
Bookmarks