Results 1 to 2 of 2

Thread: QML dropshadow, how to enable it?

  1. #1
    Join Date
    Oct 2009

    Default QML dropshadow, how to enable it?

    Hi I was trying to enable the drop shadow effect applying it to a rectangle but it seems they took out DROP SHADOW from 4.7 due to performance issues. They did say however I can re-enable it by doing the following:
    > qmlRegisterType<QGraphicsDropShadowEffect>("Effect s",1,0,"DropShadow");

    then I tried

    import Effects 1.0
    note: Effects doesn't have a space in it like the above text shows
    but this doesn't work.

    Any ideas what I'm doing wrong?

    The thread on why they took it out is here:

  2. #2
    Join Date
    Jan 2006
    Warsaw, Poland
    Thanked 5,014 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits

    Default Re: QML dropshadow, how to enable it?

    Could you explain what "doesn't work" means?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.

Similar Threads

  1. QTableView enable
    By Daxos in forum Newbie
    Replies: 1
    Last Post: 30th June 2010, 07:47
  2. Adding full dropshadow to QWidget
    By jburnette in forum Qt Programming
    Replies: 0
    Last Post: 28th May 2010, 16:35
  3. Vista top-level frameless qwidget with dropshadow
    By zebylong in forum Qt Programming
    Replies: 0
    Last Post: 2nd October 2009, 17:18
  4. cant enable dbus
    By khcbabu in forum Installation and Deployment
    Replies: 1
    Last Post: 19th February 2009, 20:05
  5. enable all Tooltips
    By clive in forum Qt Programming
    Replies: 3
    Last Post: 2nd January 2008, 11:08


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.