Results 1 to 3 of 3

Thread: Manually using RCC compiler?

  1. #1
    Join Date
    Dec 2006
    Posts
    211
    Thanks
    27
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Question Manually using RCC compiler?

    Hi All,

    I m using Qt 4.1.5 on my Mac 10.3.5.
    I have a qrc file application.qrc and when i compile it with qmake it will not compile the qrc file so i cannot use the images in the qrc file.
    So Can I manually compile my qrc file with RCC compiler and what r the command for compilation.

    If any body knows then plz help me.

    Thanks.

  2. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Manually using RCC compiler?

    Have you added this line in the .pro file?
    RESOURCES = resfile.qrc

    You can replace resfile.qrc with the actual file name.

  3. #3
    Join Date
    Dec 2006
    Posts
    211
    Thanks
    27
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: Manually using RCC compiler?

    Thanks for Reply.

    Yes I already have added this line but actually it is no making file like qrc_application.cpp and qrc_application.o

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.