News:

--

Main Menu

Qt4 build?

Started by Jan Gruuthuse, March 27, 2016, 08:31:53 AM

Previous topic - Next topic

Jan Gruuthuse

Just to inform. I'll move to Qt5 with Ubuntu shedulled release 16.04 LTS, by the end of april 2016

lrelease: could not exec '/usr/lib/x86_64-linux-gnu/qt5/bin/lrelease': No such file or directory
make[2]: *** [i18n/avidemux_es.qm] Error 1
make[2]: Leaving directory `/home/jan/avidemux2/buildQt5'
make[1]: *** [i18n/CMakeFiles/qmfiles.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....



mean

the default has changed
now you must explicitely say you want QT4
bootstrap : --enable-qt4

Jan Gruuthuse

cd ~/avidemux2 && bash bootStrap.bash --deb --enable-qt4 --with-qt4 --without-gtk --with-cli

--with-qt4  <= still included?

mean

Naming is confusing
It should be --with-qt
Default is qt5, --enable-qt4 switches to qt4

Jan Gruuthuse

Summarise: parameter --with-qt4 no longer exists
- this tries to build Qt5
cd ~/avidemux2 && bash bootStrap.bash --deb --without-gtk --with-cli
QuoteBuild type :
Release build
    Core will be built
     Gtk will be skipped
    Qt5 will be built
    Cli will be built
    Plugins will be built

- this tries to build Qt4
cd ~/avidemux2 && bash bootStrap.bash --deb --enable-qt4  --without-gtk --with-cli
QuoteBuild type :
Release build
    Core will be built
     Gtk will be skipped
    Qt4 will be built
    Cli will be built
    Plugins will be built

not building Qt (4 & 5) = --without-qt4
cd ~/avidemux2 && bash bootStrap.bash --deb --without-qt4 --with-gtk  --with-cli[/b]

further info/options:
bash bootStrap.bash --help
Bootstrap avidemux 2.6:
***********************
  --help            : Print usage
  --rpm             : Build rpm packages
  --deb             : Build deb packages
  --tgz             : Build tgz packages
  --debug           : Switch debugging on
  --with-core       : Build core
  --without-core    : Dont build core
  --with-cli        : Build cli
  --without-cli     : Dont build cli
  --with-gtk        : Build gtk
  --without-gtk     : Dont build gtk
  --with-core       : Build core
  --without-qt4     : Dont build qt4
  --with-plugins    : Build plugins
  --without-plugins : Dont build plugins
  --enable-qt4      : Try to use qt4 instead of qt5
  --enable-asan     : Enable Clang/llvm address sanitizer
The end result will be in the install folder. You can then copy it to / or whatever