This project adds support for Fortran projects and source files in Qt Creator as well as syntax-highlighting.
Go to the user configuration directory of Qt Creator
cd ~/.config/QtProject/qtcreator
Download this archive:
wget https://github.com/jonaslindemann/qtcreator-fortran/archive/master.zip
Unzip the archive:
unzip master.zip
mv qtcreator-fortran-master/* .
Restart Qt Creator.
Open the %appdata%\QtProject\qtcreator folder in explorer.
Download this archive into the above folder:
wget https://github.com/jonaslindemann/qtcreator-fortran/archive/master.zip
Open the zip-file and go into the qtcreator-fortran-master folder in the zip file. Select all files and press Ctrl+C. Paste the files in the %appdata%\QtProject\qtcreator folder.
When installed Qt Creator can create a CMake based Fortran project as well as create Fortran source files and modules.
- Select File/New File or Project...
- Select Non-Qt Project
- Select Plain Fortran Application
- Click Choose...
Follow the wizard for the rest of the setup.
- Select File/New File or Project...
- Select Fortran from Files and Classes.
- Select Fortran Source File.
- Click Choose...
Follow the wizard for the rest of the setup.
- Select File/New File or Project...
- Select Fortran from Files and Classes.
- Select Fortran Nodule File.
- Click Choose...
Follow the wizard for the rest of the setup.