[Qt-interest] Linking to QtGradientDialog

Josh jnfo-c at grauman.com
Thu Jul 2 01:50:11 CEST 2009


Hello,

I would like to use QtGradientDialog in my LGPL app. It's used in Qt 
Designer, but is not within QtGui or QtCore. I'm having trouble getting 
the linker to find the class. I included the -lQtDesigner option for 
compiling but I still get "undefined reference to 
`QtGradientDialog::getGradient(..."

There is example code on how to use the class here:
doc/src/snippets/code/tools_shared_qtgradienteditor_qtgradientdialog.cpp

Does anyone know if this class is included in libQtDesigner and how to 
link to it (in a LGPL allowable way)? Thanks.

I'm using Qt4.5.2 under Linux.

Josh



More information about the Qt-interest-old mailing list