Results 1 to 3 of 3

Thread: How to add a dependency to a windres-ressource (rc) file w/ mingw

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Apr 2015
    Posts
    1
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: How to add a dependency to a windres-ressource (rc) file w/ mingw

    I know it's been a while, but I got almost the same problem. Did you find any solution or you just redesigned your code?
    To clarify, I have version.h file that is being generated with
    Qt Code:
    1. PRE_TARGETDEPS += version.h
    To copy to clipboard, switch view to plain text mode 
    and rc file that has version.h included in it
    Qt Code:
    1. RC_FILE += resource.rc
    To copy to clipboard, switch view to plain text mode 
    The problem is when I am building the project using several cores it executes resource generation and version.h at the same time and sometimes the version file is not generated yet when winres tries to include it. I need to set up some kind of dependency so version.h would be generated before resource file.
    Thanks.
    Last edited by sr2020; 13th April 2015 at 19:10.

Similar Threads

  1. dependency file for Qt application to deploy
    By rajeshs in forum Installation and Deployment
    Replies: 5
    Last Post: 11th August 2008, 09:59
  2. MingW and pro file!!
    By Raajesh in forum Qt Programming
    Replies: 2
    Last Post: 17th June 2008, 14:38
  3. QCheckBox dependency
    By jd in forum Qt Programming
    Replies: 2
    Last Post: 1st April 2008, 13:12
  4. Replies: 2
    Last Post: 8th March 2007, 21:47
  5. DLL dependency?
    By duschl in forum Qt Programming
    Replies: 3
    Last Post: 10th April 2006, 17:34

Tags for this Thread

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.