Results 1 to 3 of 3

Thread: Using a .cur file

  1. #1
    Join Date
    Feb 2010
    Posts
    20
    Qt products
    Qt4
    Platforms
    Windows

    Default Using a .cur file

    Hello all.

    i am trying to insert some custom cursors in my app, with the .cur extension. But i'm lost. It seems that there isn't an easy way to do that. Do i miss sth?

    can these type of files be declared in a .qrc file, and then what about QCursor class?

    Sorry, but i'm new to Qt, and any help would be really appreciated!

    thanks in advance

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Using a .cur file

    I don't think that Qt supports *.cur files per se.
    But I think its quite easy to convert a cur file to png or similar.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  3. #3
    Join Date
    Feb 2010
    Posts
    20
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Using a .cur file

    well then png is the only way to go. I tried it and works great. Thank u!

Similar Threads

  1. Replies: 3
    Last Post: 28th March 2009, 15:37
  2. Replies: 0
    Last Post: 6th March 2009, 08:19
  3. Replies: 2
    Last Post: 2nd April 2008, 17:28
  4. Replies: 3
    Last Post: 25th May 2007, 07:49
  5. Replies: 13
    Last Post: 21st June 2006, 21:22

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.