[PATCH 3/4] Profile2: use a different image when no profile is visible

Dirk Hohndel dirk at hohndel.org
Mon Mar 10 09:15:32 PDT 2014


On Mon, 2014-03-10 at 17:59 +0200, Lubomir I. Ivanov wrote:
> From: "Lubomir I. Ivanov" <neolit123 at gmail.com>
> 
> This patch adds a new image resource named poster.png which,
> is shown instead of the 3 posters. The main reason for that
> is due to the poster text not being visible. This new image
> is pretty much the Subsurface logo only.
> diff --git a/subsurface.qrc b/subsurface.qrc
> index 4e0cffd..a1211a6 100644
> --- a/subsurface.qrc
> +++ b/subsurface.qrc
> @@ -15,9 +15,7 @@
>          <file alias="flag">icons/flag.png</file>
>          <file alias="scale">icons/scale.png</file>
>          <file alias="ruler">icons/ruler.png</file>
> -        <file alias="poster1">icons/poster1.jpg</file>
> -        <file alias="poster2">icons/poster2.jpg</file>
> -        <file alias="poster3">icons/poster3.jpg</file>
> +        <file alias="poster">icons/poster.png</file>
>          <file alias="arrow_up">icons/planner/arrow_up.png</file>
>          <file alias="arrow_down">icons/planner/arrow_down.png</file>
>          <file alias="icon_time">icons/planner/icon_time.png</file>

Interesting issue here... with the changed .qrc file the dependency for
the generated cpp file change - but the Makefile is not remade after
applying this patch. So you have to manually run qmake or make will fail
with missing dependencies.

Should the .qrc file be a dependency for the Makefile? Thiago?

/D



More information about the subsurface mailing list