Hi,
I've just installed and compiled the Qt4.6 TP1 on Linux and am running
into a problem when trying to create a QTileRules object using just 1
argument. The class declaration has two constructors, one taking a
single argument of type Qt::TileRule, the other taking two such
arguments but supplying a default value for the second argument.
This creates a problem when using the single-argument constructor, the
compiler cannot decide between the two constructors as a single argument
fulfills both.
The attached main.cpp shows the problem, just try to compile it via:
qmake -project; qmake; make
Andreas
--
Andreas Pakulat [email protected]
froglogic GmbH - Automated UI and Web Testing
#include <qdrawutil.h>
int main(int argc, char** argv)
{
QTileRules tr(Qt::Repeat);
}
_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback