Re: [arch-dev-public] qt4 replaces qt

2013-03-04 Thread Andrea Scarpino
On Thursday 28 February 2013 00:14:55 you wrote:
> Please maintainers fix your PKGBUILDs so they build on systems with both qt4
> and qt5-base installed; when your PKGBUILD needs qt4 and:
> * use qmake, you can replace it with qmake4
> * use cmake, you can add -DQT_QMAKE_EXECUTABLE=qmake4 to the cmake options

Just a note here: I had to remove the qmake4 symlink and use qmake-qt4 instead  
as the former was inconsistent with others distro.
When I did this change (1th March) qmake4 wasn't really used yet so I did not 
think to write this mail before. I'm sorry if this caused more confusion here.

-- 
Andrea
Arch Linux Developer


Re: [arch-dev-public] qt4 replaces qt

2013-02-27 Thread Andrea Scarpino
On Wednesday 27 February 2013 16:21:24 you wrote:
> When you install both qt5-base and qt4, qmake will refers to the 5.x
> version. To 'force' Qt 4.x, you can use the qmake4 symlink. There's also
> moc-qt4, uic- qt4 and rcc-qt4. We provide these symlinks as they are used
> by cmake and by the configure scripts to locate qt4.

Please maintainers fix your PKGBUILDs so they build on systems with both qt4 
and qt5-base installed; when your PKGBUILD needs qt4 and:
* use qmake, you can replace it with qmake4
* use cmake, you can add -DQT_QMAKE_EXECUTABLE=qmake4 to the cmake options

Cheers

-- 
Andrea
Arch Linux Developer


[arch-dev-public] qt4 replaces qt

2013-02-27 Thread Andrea Scarpino
Hi all,
a new qt4 package has hit [testing] and will replace the current qt package.

qt4 doesn't provide 'qt'; you will need to rebuild EVERY package installed 
from AUR and replace qt with qt4 in the depends array.
Also, I suggest to every maintainer in AUR to remove qt from the depends() 
array when there's qtwebkit or any package that needs qt: if you do that, this 
will require no rebuild as we updated every package in the official 
repositories to use qt4.

Also, we ship the Qt 5.x series in [testing]. Qt 5.x is more modular than 4.x. 
This allow us to have these Qt 5.x packages:
* qt5-base
* qt5-declarative
* qt5-graphicaleffects
* qt5-imageformats
* qt5-jsbackend
* qt5-multimedia
* qt5-quick1
* qt5-script
* qt5-svg
* qt5-tools
* qt5-translations
* qt5-webkit
* qt5-xmlpatterns

Generally you only need qt5-base. But, if you are a Qt developer or you want a 
full installation you can install the whole 'qt' group.

When you install both qt5-base and qt4, qmake will refers to the 5.x version. 
To 'force' Qt 4.x, you can use the qmake4 symlink. There's also moc-qt4, uic-
qt4 and rcc-qt4. We provide these symlinks as they are used by cmake and by 
the configure scripts to locate qt4.

-- 
Andrea
Arch Linux Developer