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

Qt4 deprecation tracking issue #33248

Closed
lukateras opened this issue Dec 31, 2017 · 30 comments · Fixed by #174634
Closed

Qt4 deprecation tracking issue #33248

lukateras opened this issue Dec 31, 2017 · 30 comments · Fixed by #174634

Comments

@lukateras
Copy link
Member

lukateras commented Dec 31, 2017

List of files mentioning Qt4:

  • nixos/modules/i18n/input-method/uim.nix
  • nixos/modules/programs/ccache.nix
  • nixos/modules/programs/environment.nix
  • pkgs/applications/altcoins/bitcoin-unlimited.nix
  • pkgs/applications/altcoins/bitcoin-xt.nix
  • pkgs/applications/altcoins/btc1.nix
  • pkgs/applications/altcoins/dogecoin.nix
  • pkgs/applications/altcoins/freicoin.nix
  • pkgs/applications/altcoins/litecoin.nix
  • pkgs/applications/altcoins/memorycoin.nix
  • pkgs/applications/altcoins/namecoin.nix
  • pkgs/applications/altcoins/primecoin.nix
  • pkgs/applications/altcoins/zcash/default.nix
  • pkgs/applications/audio/cantata/default.nix
  • pkgs/applications/audio/clementine/default.nix clementine: 1.3.1 -> 1.4.0rc1, switch to Qt 5, fix build #89821
  • pkgs/applications/audio/faust/faust2alqt.nix
  • pkgs/applications/audio/faust/faust2jaqt.nix
  • pkgs/applications/audio/faust/faust2lv2.nix
  • pkgs/applications/audio/google-musicmanager/default.nix
  • pkgs/applications/audio/hydrogen/default.nix
  • pkgs/applications/audio/hydrogen/0.nix
  • pkgs/applications/audio/jackmix/default.nix
  • pkgs/applications/audio/kid3/default.nix
  • pkgs/applications/audio/mixxx/default.nix
  • pkgs/applications/audio/pianobooster/default.nix
  • pkgs/applications/audio/picard/default.nix
  • pkgs/applications/audio/projectm/default.nix projectm: adopt, Qt{4->5}, {2->3}1.3, patch rpath, clean-up closure #82427 clementine: 1.3.1 -> 1.4.0rc1, switch to Qt 5, fix build #89821
  • pkgs/applications/audio/puddletag/default.nix puddletag: 1.2.0 -> 2.0.1 #96645
  • pkgs/applications/audio/qmidiroute/default.nix
  • pkgs/applications/audio/qtractor/default.nix
  • pkgs/applications/audio/qtscrobbler/default.nix
  • pkgs/applications/audio/soundscape-renderer/default.nix
  • pkgs/applications/audio/tomahawk/default.nix
  • pkgs/applications/audio/vmpk/default.nix
  • pkgs/applications/display-managers/lightdm/default.nix
  • pkgs/applications/editors/texmacs/default.nix
  • pkgs/applications/editors/texmaker/default.nix
  • pkgs/applications/editors/texstudio/default.nix
  • pkgs/applications/editors/vim/qvim.nix qvim: drop it #96768
  • pkgs/applications/gis/qgis/default.nix
  • pkgs/applications/graphics/djview/default.nix
  • pkgs/applications/graphics/fontmatrix/default.nix
  • pkgs/applications/graphics/freecad/default.nix
  • pkgs/applications/graphics/ipe/default.nix
  • pkgs/applications/graphics/leocad/default.nix
  • pkgs/applications/graphics/openscad/default.nix
  • pkgs/applications/graphics/photivo/default.nix
  • pkgs/applications/graphics/qscreenshot/default.nix
  • pkgs/applications/graphics/qtpfsgui/default.nix
  • pkgs/applications/graphics/scantailor/default.nix
  • pkgs/applications/graphics/screencloud/default.nix
  • pkgs/applications/graphics/smartdeblur/default.nix
  • pkgs/applications/misc/bibletime/default.nix
  • pkgs/applications/misc/bitcoinarmory/default.nix
  • pkgs/applications/misc/confclerk/default.nix
  • pkgs/applications/misc/diffpdf/default.nix
  • pkgs/applications/misc/diffpdf/fix_path_poppler_qt4.patch
  • pkgs/applications/misc/doomseeker/default.nix
  • pkgs/applications/misc/electrum-dash/default.nix
  • pkgs/applications/misc/electrum-ltc/default.nix
  • pkgs/applications/misc/evopedia/default.nix
  • pkgs/applications/misc/fbreader/default.nix
  • pkgs/applications/misc/gnuradio/default.nix
  • pkgs/applications/misc/googleearth/default.nix
  • pkgs/applications/misc/keepassx/2.0.nix
  • pkgs/applications/misc/keepassx/default.nix
  • pkgs/applications/misc/librecad/default.nix
  • pkgs/applications/misc/multimon-ng/default.nix
  • pkgs/applications/misc/navipowm/default.nix
  • pkgs/applications/misc/navit/default.nix
  • pkgs/applications/misc/open-pdf-presenter/default.nix
  • pkgs/applications/misc/qlcplus/default.nix
  • pkgs/applications/misc/qmetro/default.nix
  • pkgs/applications/misc/qpdfview/default.nix
  • pkgs/applications/misc/rescuetime/default.nix
  • pkgs/applications/misc/sqliteman/default.nix
  • pkgs/applications/misc/tpmmanager/default.nix
  • pkgs/applications/misc/vym/default.nix
  • pkgs/applications/misc/xautoclick/default.nix
  • pkgs/applications/misc/xkblayout-state/default.nix
  • pkgs/applications/misc/yate/default.nix
  • pkgs/applications/misc/yubioath-desktop/default.nix
  • pkgs/applications/networking/browsers/arora/default.nix
  • pkgs/applications/networking/ike/default.nix
  • pkgs/applications/networking/instant-messengers/blink/default.nix
  • pkgs/applications/networking/instant-messengers/psi/default.nix
  • pkgs/applications/networking/instant-messengers/pybitmessage/default.nix
  • pkgs/applications/networking/instant-messengers/skype-call-recorder/default.nix
  • pkgs/applications/networking/instant-messengers/vacuum/default.nix
  • pkgs/applications/networking/mumble/default.nix
  • pkgs/applications/networking/ostinato/default.nix
  • pkgs/applications/networking/p2p/eiskaltdcpp/default.nix
  • pkgs/applications/networking/remote/teamviewer/default.nix
  • pkgs/applications/networking/remote/x2goclient/default.nix
  • pkgs/applications/networking/sync/backintime/qt4.nix - backintime-qt4: unbreak #102417
  • pkgs/applications/office/libreoffice/default.nix - libreoffice-qt: init at 6.4.3.2 #89395
  • pkgs/applications/office/libreoffice/still.nix
  • pkgs/applications/office/qnotero/default.nix
  • pkgs/applications/office/scribus/default.nix
  • pkgs/applications/office/tagainijisho/default.nix
  • pkgs/applications/science/chemistry/avogadro/default.nix
  • pkgs/applications/science/electronics/qfsm/default.nix
  • pkgs/applications/science/electronics/qucs/default.nix
  • pkgs/applications/science/medicine/aliza/default.nix
  • pkgs/applications/science/misc/gplates/default.nix
  • pkgs/applications/science/misc/openmodelica/default.nix
  • pkgs/applications/science/misc/tulip/default.nix
  • pkgs/applications/science/misc/vite/default.nix
  • pkgs/applications/science/robotics/gazebo/default.nix
  • pkgs/applications/search/recoll/default.nix
  • pkgs/applications/version-management/git-and-tools/git-cola/default.nix
  • pkgs/applications/version-management/git-and-tools/svn2git-kde/default.nix
  • pkgs/applications/version-management/guitone/default.nix
  • pkgs/applications/version-management/tortoisehg/default.nix
  • pkgs/applications/video/avidemux/default.nix
  • pkgs/applications/video/avidemux/wrapper.nix
  • pkgs/applications/video/avxsynth/default.nix
  • pkgs/applications/video/clipgrab/default.nix
  • pkgs/applications/video/linuxstopmotion/default.nix
  • pkgs/applications/video/makemkv/default.nix
  • pkgs/applications/video/minitube/default.nix
  • pkgs/applications/video/mythtv/default.nix
  • pkgs/applications/video/natron/default.nix
  • pkgs/applications/video/qgifer/default.nix
  • pkgs/applications/video/recordmydesktop/qt.nix
  • pkgs/applications/video/simplescreenrecorder/default.nix
  • pkgs/applications/video/vlc/default.nix
  • pkgs/development/compilers/eql/default.nix
  • pkgs/development/libraries/aqbanking/gwenhywfar.nix
  • pkgs/development/libraries/attica/default.nix
  • pkgs/development/libraries/audio/suil/default.nix
  • pkgs/development/libraries/avahi/default.nix
  • pkgs/development/libraries/dssi/default.nix
  • pkgs/development/libraries/grantlee/default.nix
  • pkgs/development/libraries/gstreamer/legacy/qt-gstreamer/default.nix
  • pkgs/development/libraries/gstreamer/qt-gstreamer/default.nix
  • pkgs/development/libraries/libbluedevil/default.nix
  • pkgs/development/libraries/libdbusmenu-qt/default.nix
  • pkgs/development/libraries/libechonest/default.nix
  • pkgs/development/libraries/libjreen/default.nix
  • pkgs/development/libraries/liblastfm/default.nix
  • pkgs/development/libraries/libqglviewer/default.nix
  • pkgs/development/libraries/ntrack/default.nix
  • pkgs/development/libraries/opencascade/default.nix
  • pkgs/development/libraries/openscenegraph/default.nix
  • pkgs/development/libraries/phonon/backends/gstreamer.nix
  • pkgs/development/libraries/phonon/backends/vlc.nix
  • pkgs/development/libraries/phonon/default.nix
  • pkgs/development/libraries/physics/geant4/default.nix
  • pkgs/development/libraries/polkit-qt-1/qt-4.nix
  • pkgs/development/libraries/poppler/default.nix
  • pkgs/development/libraries/prison/default.nix
  • pkgs/development/libraries/qimageblitz/default.nix
  • pkgs/development/libraries/qjson/default.nix
  • pkgs/development/libraries/qscintilla/default.nix
  • pkgs/development/libraries/qt-4.x/4.8/default.nix
  • pkgs/development/libraries/qt-4.x/4.8/qmake-hook.sh
  • pkgs/development/libraries/qt-5/modules/qtbase.nix
  • pkgs/development/libraries/qtkeychain/default.nix
  • pkgs/development/libraries/qt-mobility/default.nix
  • pkgs/development/libraries/qtscriptgenerator/default.nix
  • pkgs/development/libraries/qwt/6_qt4.nix
  • pkgs/development/libraries/qwt/default.nix
  • pkgs/development/libraries/qxt/default.nix
  • pkgs/development/libraries/soprano/default.nix
  • pkgs/development/libraries/soqt/default.nix
  • pkgs/development/libraries/strigi/default.nix
  • pkgs/development/libraries/torch/default.nix
  • pkgs/development/libraries/wt/default.nix
  • pkgs/development/python-modules/matplotlib/default.nix
  • pkgs/development/python-modules/pykde4/default.nix
  • pkgs/development/python-modules/pykde4/kdelibs.nix
  • pkgs/development/python-modules/pyqt/4.x.nix
  • pkgs/development/python-modules/pyside/apiextractor.nix
  • pkgs/development/python-modules/pyside/default.nix
  • pkgs/development/python-modules/pyside/generatorrunner.nix
  • pkgs/development/python-modules/pyside/shiboken.nix
  • pkgs/development/python-modules/pyside/tools.nix
  • pkgs/development/r-modules/default.nix
  • pkgs/development/ruby-modules/gem-config/default.nix
  • pkgs/development/tools/analysis/snowman/default.nix
  • pkgs/development/tools/analysis/valkyrie/default.nix
  • pkgs/development/tools/build-managers/cmake/2.8.nix
  • pkgs/development/tools/build-managers/cmake/default.nix
  • pkgs/development/tools/documentation/doxygen/default.nix
  • pkgs/development/tools/misc/automoc4/default.nix
  • pkgs/development/tools/misc/gede/default.nix
  • pkgs/development/tools/misc/xxdiff/default.nix
  • pkgs/development/tools/profiling/oprofile/default.nix
  • pkgs/games/anki/default.nix
  • pkgs/games/anki/fix-paths.patch
  • pkgs/games/gambatte/default.nix
  • pkgs/games/hedgewars/default.nix
  • pkgs/games/holdingnuts/default.nix
  • pkgs/games/mnemosyne/default.nix
  • pkgs/games/openmw/default.nix
  • pkgs/games/pokerth/default.nix
  • pkgs/games/sdlmame/default.nix
  • pkgs/misc/drivers/hplip/3.16.11.nix
  • pkgs/misc/frescobaldi/default.nix
  • pkgs/misc/gnash/default.nix
  • pkgs/os-specific/linux/ffado/default.nix
  • pkgs/os-specific/linux/i7z/default.nix
  • pkgs/os-specific/linux/wpa_supplicant/gui.nix
  • pkgs/os-specific/windows/jom/default.nix
  • pkgs/tools/audio/acoustid-fingerprinter/default.nix
  • pkgs/tools/cd-dvd/unetbootin/default.nix
  • pkgs/tools/graphics/nifskope/default.nix
  • pkgs/tools/graphics/pfstools/default.nix
  • pkgs/tools/graphics/wkhtmltopdf/default.nix
  • pkgs/tools/graphics/zbar/default.nix
  • pkgs/tools/inputmethods/fcitx-engines/fcitx-libpinyin/default.nix
  • pkgs/tools/inputmethods/fcitx/unwrapped.nix
  • pkgs/tools/inputmethods/ibus/ibus-qt.nix
  • pkgs/tools/inputmethods/touchegg/default.nix
  • pkgs/tools/inputmethods/uim/default.nix
  • pkgs/tools/misc/qjoypad/default.nix
  • pkgs/tools/misc/yubikey-personalization-gui/default.nix
  • pkgs/tools/security/meo/default.nix
  • pkgs/tools/security/omapd/default.nix
  • pkgs/tools/text/qshowdiff/default.nix
  • pkgs/top-level/all-packages.nix
  • pkgs/top-level/python-packages.nix
git grep qt4 | cut -d: -f1 | sort | uniq | awk '{ print "* [ ] " $0; }'

Moved from #33239.

/cc @adisbladis @orivej @peterhoeg

@jtojnar
Copy link
Member

jtojnar commented Dec 31, 2017

For poppler, see #32883

@Ma27
Copy link
Member

Ma27 commented Jan 1, 2018

googleearth seems to be severely broken, started chasing errors locally, a PR will follow :)

@peterhoeg
Copy link
Member

@Ma27, you can also have a look at #30539

dtzWill added a commit to dtzWill/nixpkgs that referenced this issue Jan 14, 2018
Ma27 added a commit to Ma27/nixpkgs that referenced this issue Feb 17, 2018
This drastically reduces the complexity of the `avidemux` derivation
and adds QT5 support (see NixOS#33248).

Rather than invoking `cmake` over preconfigured hooks, it's much easier
to use the `bootStrap.bash` script provided by the developers to do the
installation tasks. Furthermore this script makes it way easier to
configure which parts of `avidemux` should be used (e.g. CLI-only) or
without the plugins.

In order to create a CLI-only instance you can simply override the
derivation:

```
avidemux.override {
  withQT = false;
}
```

It's possible to set the default executable as well (`avidemux` creates
a `avidemux_qt5` and `avidemux_cli` executable by default):

```
avidemux.override {
  default = "cli"; # default is `qt5`
}
```

The GTK support has been dropped entirely since it was originally broken
in our system and can't be built ATM. Other distros such as ArchLinux
don't support GTK anymore (see https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/avidemux#n64)
abbradar pushed a commit that referenced this issue Feb 24, 2018
This drastically reduces the complexity of the `avidemux` derivation
and adds QT5 support (see #33248).

Rather than invoking `cmake` over preconfigured hooks, it's much easier
to use the `bootStrap.bash` script provided by the developers to do the
installation tasks. Furthermore this script makes it way easier to
configure which parts of `avidemux` should be used (e.g. CLI-only) or
without the plugins.

In order to create a CLI-only instance you can simply override the
derivation:

```
avidemux.override {
  withQT = false;
}
```

It's possible to set the default executable as well (`avidemux` creates
a `avidemux_qt5` and `avidemux_cli` executable by default):

```
avidemux.override {
  default = "cli"; # default is `qt5`
}
```

The GTK support has been dropped entirely since it was originally broken
in our system and can't be built ATM. Other distros such as ArchLinux
don't support GTK anymore (see https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/avidemux#n64)
@Ma27
Copy link
Member

Ma27 commented May 3, 2018

@yegortimoshenko frescobaldi uses qt5 since 545495b

Ma27 added a commit to Ma27/nixpkgs that referenced this issue May 4, 2018
Version 2.9 is based on QT5 (with a much better interface) and requires
additionally the dependencies `qtbase`, `qtdeclarative` and `qttools`.

Furthermore the `QT_PLUGIN_PATH` had to be altered, however the
`phonon-backend` contains versioned paths, so we provide the plugin path
that matches the QT version used to build this package.

See NixOS#33248
@Ma27 Ma27 mentioned this issue May 4, 2018
8 tasks
Ma27 added a commit to Ma27/nixpkgs that referenced this issue May 4, 2018
Ma27 added a commit to Ma27/nixpkgs that referenced this issue May 4, 2018
Uses QT5's `qmake` hook (http://doc.qt.io/qt-5/qmake-manual.html) to
build `yubikey-personalization-gui` with a non-90s interface.

See NixOS#33248
Ma27 added a commit to Ma27/nixpkgs that referenced this issue May 11, 2018
`git-cola` is a simple GUI `git` wrapper based on QT. Since 2.7
(namely git-cola/git-cola@293364b)
it supports QT5 which provides a nicer inteface.

See NixOS#33248
@Ma27 Ma27 mentioned this issue May 11, 2018
8 tasks
@Ma27
Copy link
Member

Ma27 commented May 11, 2018

@yegortimoshenko the wpa_supplicant_gui seems to use QT5 as well %)

@ajs124 ajs124 mentioned this issue Oct 30, 2020
10 tasks
This was referenced Nov 2, 2020
orivej-nixos pushed a commit to freezeboy/nixpkgs that referenced this issue Nov 12, 2020
Also migrate from qt4 to qt5 (NixOS#33248)
@veprbl
Copy link
Member

veprbl commented Dec 2, 2020

A revert for wkhtmltopdf is planned in #96379

@FRidh FRidh modified the milestones: 20.09, 21.03 Dec 20, 2020
@ajs124 ajs124 mentioned this issue May 12, 2021
10 tasks
@SuperSandro2000 SuperSandro2000 modified the milestones: 21.05, 22.05 Apr 27, 2022
@ajs124 ajs124 mentioned this issue May 26, 2022
13 tasks
@stale stale bot added 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md and removed 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md labels Nov 13, 2022
@Artturin Artturin modified the milestones: 22.05, 23.05 Dec 31, 2022
@RaitoBezarius RaitoBezarius modified the milestones: 23.05, 23.11 May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging a pull request may close this issue.