Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qmake -project searching for fortran sources



  • I have a project that uses some fortran files starting a directory level and going deep some levels.
    I know that is possible to create a Makefile for them using qmake and setting some QMAKE variables like:
    @
    QMAKE_CC = gfortran
    QMAKE_LINK = gfortran

    CONFIG -= qt
    @

    But I would like to let qmake find all the fortran files using "qmake -project".

    Does anyone know how I can set the the fortran extension ".f95" to "qmake -project" ?


Log in to reply