Package Details: qtutilities 6.4.2-1

Git Clone URL: https://aur.archlinux.org/qtutilities.git (read-only, click to copy)
Package Base: qtutilities
Description: Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models
Upstream URL: https://github.com/Martchus/qtutilities
Licenses: GPL
Submitter: Martchus
Maintainer: Martchus
Last Packager: Martchus
Votes: 20
Popularity: 0.002882
First Submitted: 2015-08-27 19:16
Last Updated: 2021-07-06 21:37

Pinned Comments

Martchus commented on 2016-05-18 22:04

All my packages are managed at GitHub where you can also contribute directly: https://github.com/Martchus/PKGBUILDs
There also exist a binary repository: https://martchus.no-ip.biz/repo/arch/ownstuff

Latest Comments

1 2 Next › Last »

clonejo commented on 2021-03-01 21:35

@Martchus: Thanks, it qtutilities does compile and syncthingtray does work just fine. On i3wm with X11. I even tried reinstalling libx11, which did not help.

Martchus commented on 2021-03-01 09:48

@clonejo I haven't seen that problem so far. The code is also just relying on CMake's standard find module for finding X11. This feature is actually not used within Syncthing Tray so you can simply add -DCAPSLOCK_DETECTION=OFF to the CMake arguments as a workaround. (Note that you should definitely should have X11 libs on your system at the point of building this package because we're pulled in by Qt even if you just use Wayland.)

clonejo commented on 2021-03-01 00:04

Any idea what could be causing this error?

-- Could NOT find X11 (missing: X11_X11_INCLUDE_PATH) 
CMake Error at CMakeLists.txt:141 (message):
  No backend for capslock detection found (WinAPI or X11 must be provided)

There certainly is X11 on this system, /usr/include/X11/Xlib.h does exist.

Thanks for making syncthingtray!

Martchus commented on 2020-07-07 22:03

@OscarB Should be fixed now.

OscarB commented on 2020-07-07 21:06

I'm getting an error on version 6.1.0-1:

/var/tmp/pamac-build-oscarb/qtutilities/PKGBUILD: line 31: cd: /var/tmp/pamac-build-oscarb/qtutilities/src/qtutilities: No such file or directory


You are missing "-$pkgver" on line 31

victorbrca commented on 2020-03-10 00:18

Edit (2020-03-26)

I'm pretty sure this was related to something else and not the package. Disregard my OP.


Build has been failing for me for quite a while. Not sure if it's something specific to my machine or not:

==> Starting build()...
-- The C compiler identification is GNU 9.2.1
-- The CXX compiler identification is GNU 9.2.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- broken
CMake Error at /usr/share/cmake-3.16/Modules/CMakeTestCXXCompiler.cmake:53 (message):
  The C++ compiler

    "/usr/bin/c++"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: /home/victor/.cache/yay/qtutilities/src/qtutilities-6.0.4/CMakeFiles/CMakeTmp

    Run Build Command(s):/usr/bin/make cmTC_1db6f/fast && /usr/bin/make -f CMakeFiles/cmTC_1db6f.dir/build.make CMakeFiles/cmTC_1db6f.dir/build
    make[1]: Entering directory '/home/victor/.cache/yay/qtutilities/src/qtutilities-6.0.4/CMakeFiles/CMakeTmp'
    Building CXX object CMakeFiles/cmTC_1db6f.dir/testCXXCompiler.cxx.o
    /usr/bin/c++    -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt    -o CMakeFiles/cmTC_1db6f.dir/testCXXCompiler.cxx.o -c /home/victor/.cache/yay/qtutilities/src/qtutilities-6.0.4/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
    during IPA pass: icf
    /home/victor/.cache/yay/qtutilities/src/qtutilities-6.0.4/CMakeFiles/CMakeTmp/testCXXCompiler.cxx:4:21: internal compiler error: Illegal instruction
        4 | int main(){return 0;}
          |                     ^
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <https://bugs.archlinux.org/> for instructions.
    make[1]: *** [CMakeFiles/cmTC_1db6f.dir/build.make:66: CMakeFiles/cmTC_1db6f.dir/testCXXCompiler.cxx.o] Error 1
    make[1]: Leaving directory '/home/victor/.cache/yay/qtutilities/src/qtutilities-6.0.4/CMakeFiles/CMakeTmp'
    make: *** [Makefile:121: cmTC_1db6f/fast] Error 2

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:16 (project)

Martchus commented on 2020-02-05 11:25

see https://aur.archlinux.org/packages/tageditor/#comment-727871

vanjiii commented on 2020-02-05 11:12

Hey, validity check fails:

==> Validating source files with sha256sums...
    qtutilities-6.0.4.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!
Error downloading sources: qtutilities

Martchus commented on 2018-06-05 20:59

@akoeltringer Not why I don't encounter this on my system. But I added a patch which adds the required #include.

akoeltringer commented on 2018-06-05 20:09

Hi,

on building the package I got the following error:

/home/me/AUR/qtutilities/src/qtutilities-5.10.0/enterpassworddialog/enterpassworddialog.cpp: In Konstruktor »Dialogs::EnterPasswordDialog::EnterPasswordDialog(QWidget*)«:
/home/me/AUR/qtutilities/src/qtutilities-5.10.0/enterpassworddialog/enterpassworddialog.cpp:60:39: Fehler: falsche Verwendung des unvollständigen Typs »class QStyle«
    QIcon icon = QApplication::style()->standardIcon(QStyle::SP_MessageBoxWarning, nullptr, this);
                                      ^~
In file included from /usr/include/qt/QtWidgets/qdialog.h:44,
                from /usr/include/qt/QtWidgets/QDialog:1,
                from /home/me/AUR/qtutilities/src/qtutilities-5.10.0/enterpassworddialog/./enterpassworddialog.h:6,
                from /home/me/AUR/qtutilities/src/qtutilities-5.10.0/enterpassworddialog/enterpassworddialog.cpp:1:
/usr/include/qt/QtWidgets/qwidget.h:67:7: Anmerkung: Vorwärtsdeklaration von »class QStyle«
class QStyle;
      ^~~~~~
/home/me/AUR/qtutilities/src/qtutilities-5.10.0/enterpassworddialog/enterpassworddialog.cpp:60:62: Fehler: unvollständiger Typ »QStyle« in geschachtelter Namensangabe verwendet
    QIcon icon = QApplication::style()->standardIcon(QStyle::SP_MessageBoxWarning, nullptr, this);
                                                             ^~~~~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/qtutilities.dir/build.make:329: CMakeFiles/qtutilities.dir/enterpassworddialog/enterpassworddialog.cpp.o] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:100: CMakeFiles/qtutilities.dir/all] Fehler 2
make: *** [Makefile:141: all] Fehler 2
==> FEHLER: Ein Fehler geschah in build().
    Breche ab...

What am I doing wrong? How can I fix it? Thanks