Hi TDE forum fellas,
Since the kgtk-wrappers (yet) don't work for me regarding GTK 'file selection' dialogs (see earlier posts), I hope to have more luck with tde-tqt3; obtaining from here:
https://aur.archlinux.org/packages/tde-tqt3/%C2%A0 (Arch Linux x86_64)
It was no problem editing the PKGBUILD for adapting to current version 14.0.11, downloading the appropriate sources and starting to build. Anyway, about 25 minutes compilation exits with this:
... ((final ~150 lines of output; hope you don't mind)) ...
cd tooltip && make -f Makefile make[3]: Entering directory '/tmp/tde-tqt3/src/tqt3-trinity-14.0.11/examples/tooltip' make[3]: Nothing to be done for 'first'. make[3]: Leaving directory '/tmp/tde-tqt3/src/tqt3-trinity-14.0.11/examples/tooltip' cd toplevel && make -f Makefile make[3]: Entering directory '/tmp/tde-tqt3/src/tqt3-trinity-14.0.11/examples/toplevel' make[3]: Nothing to be done for 'first'. make[3]: Leaving directory '/tmp/tde-tqt3/src/tqt3-trinity-14.0.11/examples/toplevel' cd tux && make -f Makefile make[3]: Entering directory '/tmp/tde-tqt3/src/tqt3-trinity-14.0.11/examples/tux' make[3]: Nothing to be done for 'first'. make[3]: Leaving directory '/tmp/tde-tqt3/src/tqt3-trinity-14.0.11/examples/tux' cd widgets && make -f Makefile make[3]: Entering directory '/tmp/tde-tqt3/src/tqt3-trinity-14.0.11/examples/widgets' g++ -c -pipe -fvisibility=hidden -fvisibility-inlines-hidden -I/usr/include/mysql -I/usr/include/postgresql/server -I/usr/include/libiodbc -I/usr/include/tirpc -fno-exceptions -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/tmp/tde-tqt3/src/tqt3-trinity-14.0.11/mkspecs/linux-g++-64 -I. -I/usr/include/freetype2 -I../aclock -I../dclock -I../../include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/widgets.o widgets.cpp In file included from ../../include/ntqwindowdefs.h:47, from ../../include/ntqwidget.h:45, from ../../include/ntqdialog.h:45, from ../../include/ntqmessagebox.h:45, from widgets.cpp:10: ../../include/ntqstring.h: In member function 'TQCharRef TQCharRef::operator=(char)': ../../include/ntqstring.h:767:45: warning: implicitly-declared 'constexpr TQChar& TQChar::operator=(const TQChar&)' is deprecated [-Wdeprecated-copy] 767 | TQCharRef operator=(char c ) { s.ref(p)=c; return *this; } | ^ ../../include/ntqstring.h:274:8: note: because 'TQChar' has user-provided 'TQChar::TQChar(const TQChar&)' 274 | inline TQChar::TQChar( const TQChar& c ) : ucs( c.ucs ) | ^~~~~~ ../../include/ntqstring.h:767:56: warning: implicitly-declared 'constexpr TQCharRef::TQCharRef(const TQCharRef&)' is deprecated [-Wdeprecated-copy] 767 | TQCharRef operator=(char c ) { s.ref(p)=c; return *this; } | ^~~~ ../../include/ntqstring.h:770:15: note: because 'TQCharRef' has user-provided 'TQCharRef TQCharRef::operator=(const TQCharRef&)' 770 | TQCharRef operator=(const TQCharRef& c ) { s.ref(p)=c.unicode(); return *this; } | ^~~~~~~~ ../../include/ntqstring.h: In member function 'TQCharRef TQCharRef::operator=(uchar)': ../../include/ntqstring.h:768:46: warning: implicitly-declared 'constexpr TQChar& TQChar::operator=(const TQChar&)' is deprecated [-Wdeprecated-copy] 768 | TQCharRef operator=(uchar c ) { s.ref(p)=c; return *this; } | ^ ../../include/ntqstring.h:274:8: note: because 'TQChar' has user-provided 'TQChar::TQChar(const TQChar&)' 274 | inline TQChar::TQChar( const TQChar& c ) : ucs( c.ucs ) | ^~~~~~ ../../include/ntqstring.h:768:57: warning: implicitly-declared 'constexpr TQCharRef::TQCharRef(const TQCharRef&)' is deprecated [-Wdeprecated-copy] 768 | TQCharRef operator=(uchar c ) { s.ref(p)=c; return *this; } | ^~~~ ../../include/ntqstring.h:770:15: note: because 'TQCharRef' has user-provided 'TQCharRef TQCharRef::operator=(const TQCharRef&)' 770 | TQCharRef operator=(const TQCharRef& c ) { s.ref(p)=c.unicode(); return *this; } | ^~~~~~~~ ../../include/ntqstring.h: In member function 'TQCharRef TQCharRef::operator=(TQChar)': ../../include/ntqstring.h:769:47: warning: implicitly-declared 'constexpr TQChar& TQChar::operator=(const TQChar&)' is deprecated [-Wdeprecated-copy] 769 | TQCharRef operator=(TQChar c ) { s.ref(p)=c; return *this; } | ^ ../../include/ntqstring.h:274:8: note: because 'TQChar' has user-provided 'TQChar::TQChar(const TQChar&)' 274 | inline TQChar::TQChar( const TQChar& c ) : ucs( c.ucs ) | ^~~~~~ ../../include/ntqstring.h:769:58: warning: implicitly-declared 'constexpr TQCharRef::TQCharRef(const TQCharRef&)' is deprecated [-Wdeprecated-copy] 769 | TQCharRef operator=(TQChar c ) { s.ref(p)=c; return *this; } | ^~~~ ../../include/ntqstring.h:770:15: note: because 'TQCharRef' has user-provided 'TQCharRef TQCharRef::operator=(const TQCharRef&)' 770 | TQCharRef operator=(const TQCharRef& c ) { s.ref(p)=c.unicode(); return *this; } | ^~~~~~~~ ../../include/ntqstring.h: In member function 'TQCharRef TQCharRef::operator=(const TQCharRef&)': ../../include/ntqstring.h:770:67: warning: implicitly-declared 'constexpr TQChar& TQChar::operator=(const TQChar&)' is deprecated [-Wdeprecated-copy] 770 | TQCharRef operator=(const TQCharRef& c ) { s.ref(p)=c.unicode(); return *this; } | ^ ../../include/ntqstring.h:274:8: note: because 'TQChar' has user-provided 'TQChar::TQChar(const TQChar&)' 274 | inline TQChar::TQChar( const TQChar& c ) : ucs( c.ucs ) | ^~~~~~ ../../include/ntqstring.h:770:78: warning: implicitly-declared 'constexpr TQCharRef::TQCharRef(const TQCharRef&)' is deprecated [-Wdeprecated-copy] 770 | TQCharRef operator=(const TQCharRef& c ) { s.ref(p)=c.unicode(); return *this; } | ^~~~ ../../include/ntqstring.h:770:15: note: because 'TQCharRef' has user-provided 'TQCharRef TQCharRef::operator=(const TQCharRef&)' 770 | TQCharRef operator=(const TQCharRef& c ) { s.ref(p)=c.unicode(); return *this; } | ^~~~~~~~ ../../include/ntqstring.h: In member function 'TQCharRef TQCharRef::operator=(ushort)': ../../include/ntqstring.h:771:48: warning: implicitly-declared 'constexpr TQChar& TQChar::operator=(const TQChar&)' is deprecated [-Wdeprecated-copy] 771 | TQCharRef operator=(ushort rc ) { s.ref(p)=rc; return *this; } | ^~ ../../include/ntqstring.h:274:8: note: because 'TQChar' has user-provided 'TQChar::TQChar(const TQChar&)' 274 | inline TQChar::TQChar( const TQChar& c ) : ucs( c.ucs ) | ^~~~~~ ../../include/ntqstring.h:771:60: warning: implicitly-declared 'constexpr TQCharRef::TQCharRef(const TQCharRef&)' is deprecated [-Wdeprecated-copy] 771 | TQCharRef operator=(ushort rc ) { s.ref(p)=rc; return *this; } | ^~~~ ../../include/ntqstring.h:770:15: note: because 'TQCharRef' has user-provided 'TQCharRef TQCharRef::operator=(const TQCharRef&)' 770 | TQCharRef operator=(const TQCharRef& c ) { s.ref(p)=c.unicode(); return *this; } | ^~~~~~~~ ../../include/ntqstring.h: In member function 'TQCharRef TQCharRef::operator=(short int)': ../../include/ntqstring.h:772:47: warning: implicitly-declared 'constexpr TQChar& TQChar::operator=(const TQChar&)' is deprecated [-Wdeprecated-copy] 772 | TQCharRef operator=(short rc ) { s.ref(p)=rc; return *this; } | ^~ ../../include/ntqstring.h:274:8: note: because 'TQChar' has user-provided 'TQChar::TQChar(const TQChar&)' 274 | inline TQChar::TQChar( const TQChar& c ) : ucs( c.ucs ) | ^~~~~~ ../../include/ntqstring.h:772:59: warning: implicitly-declared 'constexpr TQCharRef::TQCharRef(const TQCharRef&)' is deprecated [-Wdeprecated-copy] 772 | TQCharRef operator=(short rc ) { s.ref(p)=rc; return *this; } | ^~~~ ../../include/ntqstring.h:770:15: note: because 'TQCharRef' has user-provided 'TQCharRef TQCharRef::operator=(const TQCharRef&)' 770 | TQCharRef operator=(const TQCharRef& c ) { s.ref(p)=c.unicode(); return *this; } | ^~~~~~~~ ../../include/ntqstring.h: In member function 'TQCharRef TQCharRef::operator=(uint)': ../../include/ntqstring.h:773:46: warning: implicitly-declared 'constexpr TQChar& TQChar::operator=(const TQChar&)' is deprecated [-Wdeprecated-copy] 773 | TQCharRef operator=(uint rc ) { s.ref(p)=rc; return *this; } | ^~ ../../include/ntqstring.h:274:8: note: because 'TQChar' has user-provided 'TQChar::TQChar(const TQChar&)' 274 | inline TQChar::TQChar( const TQChar& c ) : ucs( c.ucs ) | ^~~~~~ ../../include/ntqstring.h:773:58: warning: implicitly-declared 'constexpr TQCharRef::TQCharRef(const TQCharRef&)' is deprecated [-Wdeprecated-copy] 773 | TQCharRef operator=(uint rc ) { s.ref(p)=rc; return *this; } | ^~~~ ../../include/ntqstring.h:770:15: note: because 'TQCharRef' has user-provided 'TQCharRef TQCharRef::operator=(const TQCharRef&)' 770 | TQCharRef operator=(const TQCharRef& c ) { s.ref(p)=c.unicode(); return *this; } | ^~~~~~~~ ../../include/ntqstring.h: In member function 'TQCharRef TQCharRef::operator=(int)': ../../include/ntqstring.h:774:45: warning: implicitly-declared 'constexpr TQChar& TQChar::operator=(const TQChar&)' is deprecated [-Wdeprecated-copy] 774 | TQCharRef operator=(int rc ) { s.ref(p)=rc; return *this; } | ^~ ../../include/ntqstring.h:274:8: note: because 'TQChar' has user-provided 'TQChar::TQChar(const TQChar&)' 274 | inline TQChar::TQChar( const TQChar& c ) : ucs( c.ucs ) | ^~~~~~ ../../include/ntqstring.h:774:57: warning: implicitly-declared 'constexpr TQCharRef::TQCharRef(const TQCharRef&)' is deprecated [-Wdeprecated-copy] 774 | TQCharRef operator=(int rc ) { s.ref(p)=rc; return *this; } | ^~~~ ../../include/ntqstring.h:770:15: note: because 'TQCharRef' has user-provided 'TQCharRef TQCharRef::operator=(const TQCharRef&)' 770 | TQCharRef operator=(const TQCharRef& c ) { s.ref(p)=c.unicode(); return *this; } | ^~~~~~~~ widgets.cpp: In member function 'void WidgetView::showProperties()': widgets.cpp:750:12: error: format not a string literal and no format arguments [-Werror=format-security] 750 | tqDebug( output ); | ~~~~~~~^~~~~~~~~~ cc1plus: some warnings being treated as errors make[3]: *** [Makefile:333: .obj/release-shared-mt/widgets.o] Error 1 make[3]: Leaving directory '/tmp/tde-tqt3/src/tqt3-trinity-14.0.11/examples/widgets' make[2]: *** [Makefile:464: sub-widgets] Error 2 make[2]: Leaving directory '/tmp/tde-tqt3/src/tqt3-trinity-14.0.11/examples' make[1]: *** [Makefile:72: sub-examples] Error 2 make[1]: Leaving directory '/tmp/tde-tqt3/src/tqt3-trinity-14.0.11' make: *** [Makefile:8: init] Error 2 ==> ERROR: A failure occurred in build(). Aborting... /tmp/tde-tqt3 (master) [4]>
Btw, same happens when building earlier version v14.0.8 with the files provided by Dylan14 in his AUR comment (see link above).
Any ideas?
Since you are already running TDE it means that TQt, the toolkit TDE is based on, is already installed. My original suggestion was that *if* you had kgtk wrappers installed (e.g. as part of a metapackage) *it* could be the cause of the problem.
In any case, you should prefer using the official packages of the latest release (https://mirror.ppa.trinitydesktop.org/trinity/archlinux/) rather than unofficial PKGBUILDS on AUR since they might be outdated.
I think we must first find out the cause of the problem. I remember using a fairly recent version of Firefox on TDE/Slackware and TDE/Devuan with no problems.
-- Philippe
Am 08.01.22 um 22:16 schrieb Mavridis Philippe:
Since you are already running TDE it means that TQt, the toolkit TDE is based on, is already installed. My original suggestion was that *if* you had kgtk wrappers installed (e.g. as part of a metapackage) *it* could be the cause of the problem.
In any case, you should prefer using the official packages of the latest release (https://mirror.ppa.trinitydesktop.org/trinity/archlinux/) rather than unofficial PKGBUILDS on AUR since they might be outdated.
I think we must first find out the cause of the problem. I remember using a fairly recent version of Firefox on TDE/Slackware and TDE/Devuan with no problems.
-- Philippe
-- Ah, you're right: tde-tqt3 v14.0.11-1 is already installed, as part of tde-core – terrific!
I explicitly built and installed kgtk-git *because* of the missing non-working file choosing dialogs with recent firefox (and probably other gtk apps as well).
Sure I can uninstall it again. But then how can tde-tqt3 be of help here, does is have any wrappers? Or what other tools does TDE have?
So I understand that you want to replace stock Gtk dialogs (which don't work for you) with Trinity ones? In this case kgtk is the way to go.
I don't normally use it so I can't say much, but AFAICT both kgtk PKGBUILDS in the AUR are for KDE, not Trinity, and kgtk is not oficially packaged for Arch (why?). The best way would be to install it from source then, but I'm not sure if it works with modern Firefox.
Sorry if I can't be of more help to you.
-- Philippe
Am 08.01.22 um 22:54 schrieb Mavridis Philippe:
So I understand that you want to replace stock Gtk dialogs (which don't work for you) with Trinity ones? In this case kgtk is the way to go.
-- Philippe
??
No, I want to have *any* file choosing dialogs with firefox in TDE; yet there are none.
Also, there is a right-click menu including "Save page as..." etc. But it has no effect, there is no response.