Results 1 to 3 of 3

Thread: problem setting app icon

  1. #1
    Join Date
    Nov 2012
    Posts
    20
    Thanked 1 Time in 1 Post

    Default problem setting app icon

    I've followed these instructions:

    http://doc.qt.digia.com/4.0/appicon.html

    but I get :
    error: [release/myapp_res.o] Error 1

    Any ideas (does it matter that I built qt statically)?

    Thanks!

  2. #2
    Join Date
    Sep 2011
    Posts
    1,241
    Thanks
    3
    Thanked 127 Times in 126 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: problem setting app icon

    what does the rest of the error say? which part of those instructions for multiple platforms are you following?
    If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

  3. #3
    Join Date
    Nov 2012
    Posts
    47
    Thanks
    5
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows Android

    Default Re: problem setting app icon

    inside your pro file, you need to state the directory of your project > /qtsdk/qtcreator/bin/s/myapp.rc
    or else you need to put the rc file in the root, c:\ , d:\
    then you need to place the icon file inside your project folder

Similar Threads

  1. Setting the Application Icon on Windows
    By Coises in forum Newbie
    Replies: 4
    Last Post: 12th June 2017, 20:41
  2. Setting executable's icon
    By dorians58 in forum Newbie
    Replies: 3
    Last Post: 24th August 2010, 20:29
  3. about setting executable file icon
    By Raul in forum Qt Programming
    Replies: 5
    Last Post: 15th June 2010, 02:11
  4. Setting OS Specified Icon on the File?
    By vishal.chauhan in forum Qt Programming
    Replies: 4
    Last Post: 31st May 2008, 12:37
  5. Setting an icon to an Item in a QlistWidget
    By LordQt in forum Qt Programming
    Replies: 18
    Last Post: 23rd August 2007, 22:24

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.