QtCreatorCoveragePlugin icon indicating copy to clipboard operation
QtCreatorCoveragePlugin copied to clipboard

Doesn't compile on recent qtcreator

Open figiel opened this issue 12 years ago • 7 comments

$ qmake -r Reading /home/xyz/qtcreator/QtCreatorCoveragePlugin-master/src/src.pro Reading /home/xyz/qtcreator/QtCreatorCoveragePlugin-master/src/lib/lib.pro WARNING: /home/xyz/qtcreator/qt-creator-2.8.0-beta-src/src/qtcreatorplugin.pri:1: Unable to find file for inclusion /home/xyz/qtcreator/QtCreatorCoveragePlugin-master/src/lib/lib_dependencies.pri Project ERROR: qtcreatorplugin.pri: You must provide a TARGET

Tried to compile against: http://download.qt-project.org/development_releases/qtcreator/2.8/2.8.0-beta/qt-creator-2.8.0-beta-src.tar.gz

figiel avatar Jul 10 '13 13:07 figiel

Hi.

I have the same problem. Any progress on this?

cinemast avatar Oct 02 '13 22:10 cinemast

Hello,

I've made some modifications to compile it with qt-creator-2.8.1 (on Gentoo), you can find it there.

fargies avatar Jan 13 '14 20:01 fargies

I'm having a similar issue using fargies' mod

$ qmake -r Reading /home/neil/QtCreatorCoveragePlugin/src/src.pro Reading /home/neil/QtCreatorCoveragePlugin/src/lib/lib.pro Cannot read /home/neil/Downloads/QT_PATH/qt-creator-opensource-src-3.0.1/src/plugins/projectexplorer/projectexplorer.pri: No such file or directory Cannot read /home/neil/Downloads/QT_PATH/qt-creator-opensource-src-3.0.1/src/plugins/coreplugin/coreplugin.pri: No such file or directory Cannot read /home/neil/Downloads/QT_PATH/qt-creator-opensource-src-3.0.1/src/plugins/qt4projectmanager/qt4projectmanager.pri: No such file or directory

Seems like it's still trying to look for qt4 structures.

TwistTheNeil avatar Sep 29 '14 10:09 TwistTheNeil

I do also have the 3 Errors, those includes are used with older QtCreator versions.

The Makefiles are still generated and qmake returns a zero error code, everything is still compiling on my side (with qt-creator 3.0.1).

To remove the errors/warnings, remove the 3 last includes in src/lib/codecoverage_dependencies.pri

The pro files are still messy, if you still can't succeed I can try to make a cleanup.

fargies avatar Sep 29 '14 17:09 fargies

Use my fork which has fixes for latest QtCreator 3.4.2 https://github.com/uglide/QtCreatorCoveragePlugin

uglide avatar Aug 14 '15 10:08 uglide

@uglide there page not found at your link. Does your fork no longer exist? Are there any other solutions?

ericfont avatar Mar 22 '16 23:03 ericfont

@uglide I would also like to have the link if you make it available. Thanks a lot!

georgeplaton7 avatar Dec 03 '17 18:12 georgeplaton7