Hi wysota
To get my VS2005 SP1 to compile/link this correctly, I needed to change qwwtwocolorindicator.h from
.
.
class QwwTwoColorIndicatorPrivate;
class Q_GUI_EXPORT QwwTwoColorIndicator
: public QWidget, QwwPrivatable
{
Q_OBJECT
.
.
.
.
class QwwTwoColorIndicatorPrivate;
class Q_GUI_EXPORT QwwTwoColorIndicator : public QWidget, QwwPrivatable
{
Q_OBJECT
.
.
To copy to clipboard, switch view to plain text mode
to
.
.
class QwwTwoColorIndicatorPrivate;
class Q_WW_EXPORT QwwTwoColorIndicator
: public QWidget, QwwPrivatable
{
Q_OBJECT
.
.
.
.
class QwwTwoColorIndicatorPrivate;
class Q_WW_EXPORT QwwTwoColorIndicator : public QWidget, QwwPrivatable
{
Q_OBJECT
.
.
To copy to clipboard, switch view to plain text mode
This looked right compared to other classes in the distro.
Other things causing minor problems
- The nmake install installs the dll into the QTDIR/lib folder, not the bin folder - yet another PATH entry required then?
- There's no "d" suffix to discriminate between debug and release build as suggested in the help pages. (I tend to use bin/bind folders as a model for my app builds but this is supposed to act a standard Qt extension)
- The "plugin" is being built with a staticlib setting in the pro file - I'm not sure if this is what you intended.
Still trying to get it working - I'm after one of those marvellous "Outlook 2003" navigation bars (and I saw some of the flame wars on the "other" Qt forum). However I've already sorted out the styling of QPushButtons - just trying to get the behaviours the same. Current screen shot attached.
Pete
Bookmarks