Opened 12 years ago

Closed 12 years ago

#5414 closed defect (fixed)

MythPlugins support files not being installed on Win32

Reported by: Nigel Owned by: danielk
Priority: minor Milestone: unknown
Component: windows Version: unknown
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Unless I am going mad, it seems like all the wildcards are failing on make install under windows:

$ cd /c/mythtv/mythplugins/mythvideo

$ egrep \\\* theme/theme.pro
defaultfiles.files = default/*.xml default/*.png
widefiles.files = default-wide/*.xml default-wide/images/*.png
menufiles.files = menus/*.xml

$ make install
...
cp -f "mythvideo_cz.qm" "/C/mythtv/build/share/mythtv/i18n/"
...
make[1]: Nothing to be dome for `install'.
make[1]: Leaving directory `/c/mythtv/mythplugins/mythvideo/theme'

$

(observed under 0-21-fixes and Qt3, will test SVN/Qt4 soon)

Verbose fix would be to explicitly list all the .xml, .png files, but I am not willing to maintain that.

Change History (3)

comment:1 Changed 12 years ago by Nigel

$ cd theme

$ qmake -d *.pro @>&1 | grep defaultfiles
DEBUG 1: Project Parser: C:\mythtv\mythplugins\mythvideo\theme\theme.pro:12 :defaultfiles.path: :=: (/C/mythtv/build//share/mythtv/themes/default)
DEBUG 1: Project Parser: C:\mythtv\mythplugins\mythvideo\theme\theme.pro:13 :defaultfiles.files: :=: (default/*.xml :: default/images/*.png)
DEBUG 1: Project Parser: C:\mythtv\mythplugins\mythvideo\theme\theme.pro:21 :INSTALLS: :+=: (defaultfiles :: widefiles :: menufiles)
DEBUG 1: no definition for install defaultfiles: install target not created
...

which looks like it is another Qt3 make bug?

comment:2 Changed 12 years ago by Nigel

Not a problem under Qt4. So, for a 0.21/Qt3 build, we can either patch qmake, or duplicate the install rules in the packager script

comment:3 Changed 12 years ago by Nigel

Resolution: fixed
Status: newclosed

(In [17485]) Non debug Qt4 build steps, install some plugin resource files manually (fragile/un-maintainable, but easier than patching Qt3). Closes #5213, #5414.

Note: See TracTickets for help on using tickets.