Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request]: Qt5 support #8

Closed
lgbaldoni opened this issue Apr 3, 2017 · 6 comments
Closed

[Feature request]: Qt5 support #8

lgbaldoni opened this issue Apr 3, 2017 · 6 comments

Comments

@lgbaldoni
Copy link
Contributor

Any plans for Qt5 support?

@revmischa
Copy link
Collaborator

#5

@revmischa
Copy link
Collaborator

It's now ready to test! If you're still interested: #42

@lgbaldoni
Copy link
Contributor Author

A couple of things:

this should really be
AC_CHECK_PROGS(RCC, [rcc-qt5 rcc])

and I get these errors on install:

> make install DESTDIR=/home/user/foo               
Making install in src
make[1]: Entering directory '/home/user/projectm-2.2.0+git41/src'
Making install in libprojectM
make[2]: Entering directory '/home/user/projectm-2.2.0+git41/src/libprojectM'
Making install in Renderer
make[3]: Entering directory '/home/user/projectm-2.2.0+git41/src/libprojectM/Renderer'
make[4]: Entering directory '/home/user/projectm-2.2.0+git41/src/libprojectM/Renderer'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/home/user/projectm-2.2.0+git41/src/libprojectM/Renderer'
make[3]: Leaving directory '/home/user/projectm-2.2.0+git41/src/libprojectM/Renderer'
Making install in NativePresetFactory
make[3]: Entering directory '/home/user/projectm-2.2.0+git41/src/libprojectM/NativePresetFactory'
make[4]: Entering directory '/home/user/projectm-2.2.0+git41/src/libprojectM/NativePresetFactory'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/home/user/projectm-2.2.0+git41/src/libprojectM/NativePresetFactory'
make[3]: Leaving directory '/home/user/projectm-2.2.0+git41/src/libprojectM/NativePresetFactory'
Making install in MilkdropPresetFactory
make[3]: Entering directory '/home/user/projectm-2.2.0+git41/src/libprojectM/MilkdropPresetFactory'
make[4]: Entering directory '/home/user/projectm-2.2.0+git41/src/libprojectM/MilkdropPresetFactory'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/home/user/projectm-2.2.0+git41/src/libprojectM/MilkdropPresetFactory'
make[3]: Leaving directory '/home/user/projectm-2.2.0+git41/src/libprojectM/MilkdropPresetFactory'
make[3]: Entering directory '/home/user/projectm-2.2.0+git41/src/libprojectM'
make[4]: Entering directory '/home/user/projectm-2.2.0+git41/src/libprojectM'
 /usr/bin/mkdir -p '/home/user/foo/usr/lib64'
 /bin/sh ../../libtool   --mode=install /usr/bin/install -c   libprojectM.la '/home/user/foo/usr/lib64'
libtool: install: /usr/bin/install -c .libs/libprojectM.so.0.0.2 /home/user/foo/usr/lib64/libprojectM.so.0.0.2
libtool: install: (cd /home/user/foo/usr/lib64 && { ln -s -f libprojectM.so.0.0.2 libprojectM.so.0 || { rm -f libprojectM.so.0 && ln -s libprojectM.so.0.0.2 libprojectM.so.0; }; })
libtool: install: (cd /home/user/foo/usr/lib64 && { ln -s -f libprojectM.so.0.0.2 libprojectM.so || { rm -f libprojectM.so && ln -s libprojectM.so.0.0.2 libprojectM.so; }; })
libtool: install: /usr/bin/install -c .libs/libprojectM.lai /home/user/foo/usr/lib64/libprojectM.la
libtool: warning: remember to run 'libtool --finish /usr/lib64'
 /usr/bin/mkdir -p '/home/user/foo/usr/include'
 /usr/bin/install -c -m 644 projectM.hpp '/home/user/foo/usr/include'
make[4]: Leaving directory '/home/user/projectm-2.2.0+git41/src/libprojectM'
make[3]: Leaving directory '/home/user/projectm-2.2.0+git41/src/libprojectM'
make[2]: Leaving directory '/home/user/projectm-2.2.0+git41/src/libprojectM'
Making install in NativePresets
make[2]: Entering directory '/home/user/projectm-2.2.0+git41/src/NativePresets'
make[3]: Entering directory '/home/user/projectm-2.2.0+git41/src/NativePresets'
make[3]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/home/user/foo/usr/share/projectM/presets'
 /bin/sh ../../libtool   --mode=install /usr/bin/install -c   libMstressJuppyDancer.la libRLGFractalDrop7c.la libRovastarDarkSecret.la libRovastarDriftingChaos.la libRovastarFractalSpiral.la libRovastarFractopiaFrantic.la '/home/user/foo/usr/share/projectM/presets'
libtool: install: /usr/bin/install -c .libs/libMstressJuppyDancer.so.0.0.0 /home/user/foo/usr/share/projectM/presets/libMstressJuppyDancer.so.0.0.0
libtool: install: (cd /home/user/foo/usr/share/projectM/presets && { ln -s -f libMstressJuppyDancer.so.0.0.0 libMstressJuppyDancer.so.0 || { rm -f libMstressJuppyDancer.so.0 && ln -s libMstressJuppyDancer.so.0.0.0 libMstressJuppyDancer.so.0; }; })
libtool: install: (cd /home/user/foo/usr/share/projectM/presets && { ln -s -f libMstressJuppyDancer.so.0.0.0 libMstressJuppyDancer.so || { rm -f libMstressJuppyDancer.so && ln -s libMstressJuppyDancer.so.0.0.0 libMstressJuppyDancer.so; }; })
libtool: install: /usr/bin/install -c .libs/libMstressJuppyDancer.lai /home/user/foo/usr/share/projectM/presets/libMstressJuppyDancer.la
libtool: install: /usr/bin/install -c .libs/libRLGFractalDrop7c.so.0.0.0 /home/user/foo/usr/share/projectM/presets/libRLGFractalDrop7c.so.0.0.0
libtool: install: (cd /home/user/foo/usr/share/projectM/presets && { ln -s -f libRLGFractalDrop7c.so.0.0.0 libRLGFractalDrop7c.so.0 || { rm -f libRLGFractalDrop7c.so.0 && ln -s libRLGFractalDrop7c.so.0.0.0 libRLGFractalDrop7c.so.0; }; })
libtool: install: (cd /home/user/foo/usr/share/projectM/presets && { ln -s -f libRLGFractalDrop7c.so.0.0.0 libRLGFractalDrop7c.so || { rm -f libRLGFractalDrop7c.so && ln -s libRLGFractalDrop7c.so.0.0.0 libRLGFractalDrop7c.so; }; })
libtool: install: /usr/bin/install -c .libs/libRLGFractalDrop7c.lai /home/user/foo/usr/share/projectM/presets/libRLGFractalDrop7c.la
libtool: install: /usr/bin/install -c .libs/libRovastarDarkSecret.so.0.0.0 /home/user/foo/usr/share/projectM/presets/libRovastarDarkSecret.so.0.0.0
libtool: install: (cd /home/user/foo/usr/share/projectM/presets && { ln -s -f libRovastarDarkSecret.so.0.0.0 libRovastarDarkSecret.so.0 || { rm -f libRovastarDarkSecret.so.0 && ln -s libRovastarDarkSecret.so.0.0.0 libRovastarDarkSecret.so.0; }; })
libtool: install: (cd /home/user/foo/usr/share/projectM/presets && { ln -s -f libRovastarDarkSecret.so.0.0.0 libRovastarDarkSecret.so || { rm -f libRovastarDarkSecret.so && ln -s libRovastarDarkSecret.so.0.0.0 libRovastarDarkSecret.so; }; })
libtool: install: /usr/bin/install -c .libs/libRovastarDarkSecret.lai /home/user/foo/usr/share/projectM/presets/libRovastarDarkSecret.la
libtool: install: /usr/bin/install -c .libs/libRovastarDriftingChaos.so.0.0.0 /home/user/foo/usr/share/projectM/presets/libRovastarDriftingChaos.so.0.0.0
libtool: install: (cd /home/user/foo/usr/share/projectM/presets && { ln -s -f libRovastarDriftingChaos.so.0.0.0 libRovastarDriftingChaos.so.0 || { rm -f libRovastarDriftingChaos.so.0 && ln -s libRovastarDriftingChaos.so.0.0.0 libRovastarDriftingChaos.so.0; }; })
libtool: install: (cd /home/user/foo/usr/share/projectM/presets && { ln -s -f libRovastarDriftingChaos.so.0.0.0 libRovastarDriftingChaos.so || { rm -f libRovastarDriftingChaos.so && ln -s libRovastarDriftingChaos.so.0.0.0 libRovastarDriftingChaos.so; }; })
libtool: install: /usr/bin/install -c .libs/libRovastarDriftingChaos.lai /home/user/foo/usr/share/projectM/presets/libRovastarDriftingChaos.la
libtool: install: /usr/bin/install -c .libs/libRovastarFractalSpiral.so.0.0.0 /home/user/foo/usr/share/projectM/presets/libRovastarFractalSpiral.so.0.0.0
libtool: install: (cd /home/user/foo/usr/share/projectM/presets && { ln -s -f libRovastarFractalSpiral.so.0.0.0 libRovastarFractalSpiral.so.0 || { rm -f libRovastarFractalSpiral.so.0 && ln -s libRovastarFractalSpiral.so.0.0.0 libRovastarFractalSpiral.so.0; }; })
libtool: install: (cd /home/user/foo/usr/share/projectM/presets && { ln -s -f libRovastarFractalSpiral.so.0.0.0 libRovastarFractalSpiral.so || { rm -f libRovastarFractalSpiral.so && ln -s libRovastarFractalSpiral.so.0.0.0 libRovastarFractalSpiral.so; }; })
libtool: install: /usr/bin/install -c .libs/libRovastarFractalSpiral.lai /home/user/foo/usr/share/projectM/presets/libRovastarFractalSpiral.la
libtool: install: /usr/bin/install -c .libs/libRovastarFractopiaFrantic.so.0.0.0 /home/user/foo/usr/share/projectM/presets/libRovastarFractopiaFrantic.so.0.0.0
libtool: install: (cd /home/user/foo/usr/share/projectM/presets && { ln -s -f libRovastarFractopiaFrantic.so.0.0.0 libRovastarFractopiaFrantic.so.0 || { rm -f libRovastarFractopiaFrantic.so.0 && ln -s libRovastarFractopiaFrantic.so.0.0.0 libRovastarFractopiaFrantic.so.0; }; })
libtool: install: (cd /home/user/foo/usr/share/projectM/presets && { ln -s -f libRovastarFractopiaFrantic.so.0.0.0 libRovastarFractopiaFrantic.so || { rm -f libRovastarFractopiaFrantic.so && ln -s libRovastarFractopiaFrantic.so.0.0.0 libRovastarFractopiaFrantic.so; }; })
libtool: install: /usr/bin/install -c .libs/libRovastarFractopiaFrantic.lai /home/user/foo/usr/share/projectM/presets/libRovastarFractopiaFrantic.la
libtool: warning: remember to run 'libtool --finish /usr/share/projectM/presets'
make[3]: Leaving directory '/home/user/projectm-2.2.0+git41/src/NativePresets'
make[2]: Leaving directory '/home/user/projectm-2.2.0+git41/src/NativePresets'
Making install in projectM-sdl
make[2]: Entering directory '/home/user/projectm-2.2.0+git41/src/projectM-sdl'
make[3]: Entering directory '/home/user/projectm-2.2.0+git41/src/projectM-sdl'
 /usr/bin/mkdir -p '/home/user/foo/usr/bin'
  /bin/sh ../../libtool   --mode=install /usr/bin/install -c projectMSDL '/home/user/foo/usr/bin'
libtool: install: /usr/bin/install -c projectMSDL /home/user/foo/usr/bin/projectMSDL
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/user/projectm-2.2.0+git41/src/projectM-sdl'
make[2]: Leaving directory '/home/user/projectm-2.2.0+git41/src/projectM-sdl'
Making install in projectM-qt
make[2]: Entering directory '/home/user/projectm-2.2.0+git41/src/projectM-qt'
make  install-am
make[3]: Entering directory '/home/user/projectm-2.2.0+git41/src/projectM-qt'
make[4]: Entering directory '/home/user/projectm-2.2.0+git41/src/projectM-qt'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/home/user/projectm-2.2.0+git41/src/projectM-qt'
make[3]: Leaving directory '/home/user/projectm-2.2.0+git41/src/projectM-qt'
make[2]: Leaving directory '/home/user/projectm-2.2.0+git41/src/projectM-qt'
Making install in projectM-pulseaudio
make[2]: Entering directory '/home/user/projectm-2.2.0+git41/src/projectM-pulseaudio'
make  install-am
make[3]: Entering directory '/home/user/projectm-2.2.0+git41/src/projectM-pulseaudio'
make[4]: Entering directory '/home/user/projectm-2.2.0+git41/src/projectM-pulseaudio'
 /usr/bin/mkdir -p '/home/user/foo/usr/bin'
  /bin/sh ../../libtool   --mode=install /usr/bin/install -c projectM-pulseaudio '/home/user/foo/usr/bin'
libtool: install: /usr/bin/install -c projectM-pulseaudio /home/user/foo/usr/bin/projectM-pulseaudio
 /usr/bin/mkdir -p '/home/user/foo/usr/share/applications'
 /usr/bin/install -c -m 644 projectM-pulseaudio.desktop '/home/user/foo/usr/share/applications'
 /usr/bin/mkdir -p '/home/user/foo/usr/share/man/man1'
 /usr/bin/install -c -m 644 projectM-pulseaudio.1 '/home/user/foo/usr/share/man/man1'
make[4]: Leaving directory '/home/user/projectm-2.2.0+git41/src/projectM-pulseaudio'
make[3]: Leaving directory '/home/user/projectm-2.2.0+git41/src/projectM-pulseaudio'
make[2]: Leaving directory '/home/user/projectm-2.2.0+git41/src/projectM-pulseaudio'
make[2]: Entering directory '/home/user/projectm-2.2.0+git41/src'
make[3]: Entering directory '/home/user/projectm-2.2.0+git41/src'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/user/projectm-2.2.0+git41/src'
make[2]: Leaving directory '/home/user/projectm-2.2.0+git41/src'
make[1]: Leaving directory '/home/user/projectm-2.2.0+git41/src'
make[1]: Entering directory '/home/user/projectm-2.2.0+git41'
make[2]: Entering directory '/home/user/projectm-2.2.0+git41'
make[2]: Nothing to be done for 'install-exec-am'.
test -z /usr/share/projectM || /usr/bin/mkdir -p /usr/share/projectM/presets
/usr/bin/mkdir: cannot create directory ‘/usr/share/projectM’: Permission denied
make[2]: *** [Makefile:954: install-data-local] Error 1
make[2]: Leaving directory '/home/user/projectm-2.2.0+git41'
make[1]: *** [Makefile:831: install-am] Error 2
make[1]: Leaving directory '/home/user/projectm-2.2.0+git41'
make: *** [Makefile:530: install-recursive] Error 1

@revmischa
Copy link
Collaborator

Do you get the install error if you configure with --prefix=/home/user/foo?
Or should it support DESTDIR=blah? How should that work?
PRs welcome!

@lgbaldoni
Copy link
Contributor Author

Do you get the install error if you configure with --prefix=/home/user/foo?

Nope, but I still see
libtool: warning: remember to run 'libtool --finish /usr/share/projectM/presets'
which I don't fully understand. Is it important?

Or should it support DESTDIR=blah? How should that work?

Ideally yes, especially when packaging.

PRs welcome!

Will have to delve into it.

@revmischa
Copy link
Collaborator

I believe the /usr/share/projectM dir comes from $(pkgdatadir) in the root Makefile.am. I'm not sure why that would be different for DESTDIR=...

I don't know what that libtool warning is about. Maybe it's important?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants