Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 449992 - dev-qt/qt-creator: project file templates should not be modified by eqmake4
Summary: dev-qt/qt-creator: project file templates should not be modified by eqmake4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-03 12:22 UTC by Nikos Chantziaras
Modified: 2013-06-03 08:03 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info qt-creator (file_449992.txt,6.03 KB, text/plain)
2013-01-03 12:23 UTC, Nikos Chantziaras
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikos Chantziaras 2013-01-03 12:22:05 UTC
I started a new project in Qt Creator and noticed this at the top of the generated project file:

  ### eqmake4 was here ###
  CONFIG -= debug_and_release debug
  CONFIG += release

That shouldn't be there. I grepped for this in the installed Creator templates:

  grep -r eqmake4 /usr/share/qtcreator

this reveals that during installation, eqmake4 is blindly searching for and modifying all Creator templates. That's obviously a no-no.
Comment 1 Nikos Chantziaras 2013-01-03 12:23:01 UTC
Created attachment 334180 [details]
emerge --info qt-creator
Comment 2 Davide Pesavento (RETIRED) gentoo-dev 2013-01-04 00:07:19 UTC
Right. I noticed this a while ago but then forgot about it :)
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2013-05-12 15:56:02 UTC
Shall we extend the qt4.eclass to have a new global variable, eg EQMAKE4_IGNORE which ebuilds can use to explicitly instruct eqmake4 to not modify certain project files?
Comment 4 Davide Pesavento (RETIRED) gentoo-dev 2013-05-13 13:40:58 UTC
(In reply to comment #3)
> Shall we extend the qt4.eclass to have a new global variable, eg
> EQMAKE4_IGNORE which ebuilds can use to explicitly instruct eqmake4 to not
> modify certain project files?

Yes exactly, that was my plan.
Comment 5 Davide Pesavento (RETIRED) gentoo-dev 2013-06-03 06:22:31 UTC
EQMAKE4_EXCLUDE has been implemented in qt4-r2.eclass
Comment 6 Davide Pesavento (RETIRED) gentoo-dev 2013-06-03 08:03:53 UTC
Fixed in 2.7.1