Hello Zhongmiao. Please elaborate a bit. What are you trying to achieve?
Regards, Helge Fredriksen On Tue, Dec 7, 2010 at 10:21 AM, Zhongmiao Li <[email protected]> wrote: > Hi everyone, > > I can not figure how to use QVariant in QtJambi. > So can you tell me how to write the following code in QtJambi? > > if (qVariantCanConvert<CanvasGradient>(style)) { > CanvasGradient cg = qvariant_cast<CanvasGradient>(style); > > Thanks very much!! > > > -- > Best regards > Li Zhongmiao > Digital Media, College of Computer Science, Zhejiang University > > > _______________________________________________ > Qt-jambi-interest mailing list > [email protected] > http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest > >
_______________________________________________ Qt-jambi-interest mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
