What's the correct line to include the plugin path ?
The only thing that seemed to work is:
# LIBS += $$[QT_INSTALL_PLUGINS]/designer/libDbComboBox.so
# LIBS += $$[QT_INSTALL_PLUGINS]/designer/libDbComboBox.so
To copy to clipboard, switch view to plain text mode
I have to tell it the library name. Shouldn't the compiler find it from the path setting ?
I've tried these lines but the compiler can't find it.
LIBS += -L$$[QT_INSTALL_PLUGINS]/designer -llibDbComboBox
LIBS += -L$$[QT_INSTALL_PLUGINS]/designer -llibDbComboBox
To copy to clipboard, switch view to plain text mode
/usr/bin/ld: cannot find -llibDbComboBox
LIBS += -l$$[QT_INSTALL_PLUGINS]/designer
LIBS += -l$$[QT_INSTALL_PLUGINS]/designer
To copy to clipboard, switch view to plain text mode
/usr/bin/ld: cannot find -l/home/vince/qtsdk-2009.03/bin/designer
LIBS += -L$$[QT_INSTALL_PLUGINS]/designer
LIBS += -L$$[QT_INSTALL_PLUGINS]/designer
To copy to clipboard, switch view to plain text mode
undefined reference to [all my methods]
The path IS a valid directory, using Qt 4.5.2 on Debian.
Bookmarks