[Solved] qmake: compiling Pro*C source files (Windows)

  • Hi all,
    I need to add specific compiler for a Pro*C file (yes, just one) in my project. I read the "Customizing Makefile Output" part in the qmake documentation, so I did:
    TEMPLATE = app


    HEADERS += dynamicsql.h
    SOURCES += dynamicsql.pc

    proc.output = ${QMAKE_FILE_BASE}.c
    proc.command = echo ${QMAKE_FILE_OUT}
    proc.depend_command = echo ${QMAKE_FILE_BASE}
    proc.input = SOURCES
    Then I run qmake: 'qmake -tp vc'
    My .proc file does not have any compiler rule, do I've check the makefile generated with a basic 'qmake'. I don't see anything about my build rule.
    What may be wrong?
    Thank you for your help!

  • hum, hem, my bad, just needed to add an 's' to 'proc.command' (so it's proc.commands)

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.