Slávek Banko
d87251ee25
cmake: Fix FTBFS on linking main tqt-mt library.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
gregory guy
5aeb3174e4
Add examples builds.
...
Signed-off-by: gregory guy <gregory-tde@laposte.net>
3 years ago
gregory guy
12c977220a
Remove explicite linking to the threading library and some cleanup.
...
Signed-off-by: gregory guy <gregory-tde@laposte.net>
3 years ago
Slávek Banko
2727e3a3d8
cmake: Enable building with TQT_THREAD_SUPPORT at global level.
...
To build tqmake and tmoc, TQT_THREAD_SUPPORT is turned off.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Slávek Banko
b330fe991b
cmake: Adjust the T1 tutorial building, added remaining tutorials.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Slávek Banko
1708902f9e
cmake: Reduction of linking between static modules libraries.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
gregory guy
7d518e9259
Some adjustments for tutorial T1 build.
...
Signed-off-by: gregory guy <gregory-tde@laposte.net>
3 years ago
gregory guy
f448686230
Add tutorial builds.
...
Signed-off-by: gregory guy <gregory-tde@laposte.net>
3 years ago
gregory guy
7a3d34018d
Add pkg-config file.
...
Signed-off-by: gregory guy <gregory-tde@laposte.net>
3 years ago
Slávek Banko
c962d58baa
cmake: Embed modules to the target TQt library.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Slávek Banko
da0f469425
cmake: Fix TQT_MODULE_OPENGL definition.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Slávek Banko
4596844010
cmake: Add UnixODBC support next to libiodbc.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
gregory guy
3bc767abb5
Conversion to the cmake building system.
...
Signed-off-by: gregory guy <gregory-tde@laposte.net>
Added auxiliary CMake macros.
Added include files installation for CMake.
Added TMOC_EXECUTABLE setting.
Small fixes in tqt_automoc macro.
Initial test for use tqt_automoc macro.
Fix typo in tqt_automoc CMake macro.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Slávek Banko
0d60417c83
Fix buildkey for GCC >= 7 if the version is listed including minor numbers.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
gregory guy
43d7bc96c7
Remove deprecated glib2 function calls g_thread_get_initialized(), g_thread_init() and g_thread_create().
...
Signed-off-by: gregory guy <gregory-tde@laposte.net>
3 years ago
gregory guy
1007a44d71
Define QT_MITSHM to use <X11/extensions/XShm.h> for several platforms, namely: dilos-g++, freebsd-clang, linux-g++-32 and linux-g++-64
...
Signed-off-by: gregory guy <gregory-tde@laposte.net>
3 years ago
Ray-V
2fbf9ffbc6
Add unicode points so that upper() and lower() functions work for:
...
- latin letter sharp s
- latin letter glottal stop
- greek lunate sigma symbol
- greek letter san
Signed-off-by: Ray-V <ray-v@inbox.lv>
3 years ago
Slávek Banko
ce03d78623
Return TQT_NO_WORKSPACE setting, according to TQT_MODULE_WORKSPACE,
...
unwantedly removed in commit a41a034902
.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Slávek Banko
00318b767a
IconView widget was moved to Widgets module in commit
...
a41a034902
, but there remained
the iconview module definition as standalone. This causes
incorrect BUILD_KEY and library configuration declaration.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Michele Calgaro
0f480dc43f
Fixed broken Q_FULL_TEMPLATE_INSTANTIATION define (renamed to TQ_FULL_TEMPLATE_INSTANTIATION).
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Slávek Banko
2a00c1661b
Undo an unwanted deletion of the 'register' in the string.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Hugo Carvalho
1d21085cd1
Added translation using Weblate (Portuguese)
4 years ago
Hugo Carvalho
fab37ee9df
Added translation using Weblate (Portuguese)
4 years ago
Slávek Banko
7441a646a8
Fix buffer overflow in XBM parser.
...
Avoid parsing over the buffer limit, or interpreting non-hex as hex.
This still leaves parsing of lines longer than 300 chars unreliable.
Based on Qt5 patch for CVE-2020-17507.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Slávek Banko
66e96fca34
Update translations binary files
...
because they are not generated during build.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
gregory guy
9afb3f4d91
Add hidden visibility symbols definition to the linux-g++-64 and linux-g++-32 mkspecs config files.
...
Signed-off-by: gregory guy <gregory-tde@laposte.net>
4 years ago
Michele Calgaro
b3c22b84ef
Removed additional code formatting modelines.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
gregory guy
3d5e557e40
Fix FTBFS with compiler's options(gcc): -Werror=format-security -Wformat
...
Signed-off-by: gregory guy <gregory-tde@laposte.net>
4 years ago
Michele Calgaro
250e6baa4c
Removed code formatting modelines.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Slávek Banko
1335b2013b
Update buildkey for >= GCC 9.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
OBATA Akio
a9d2c0bdd1
Prevent to set build directories as RPATH
...
It result in unwanted RPATH reference from installed binaries.
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
OBATA Akio
8704c62dce
Fix `qt_xft_handle` to work as expected
...
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
OBATA Akio
ac50013578
Fix MIT_SHM related condition
...
Prevent to build MIT_SHM related codes for !QT_MITSHM condition.
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
Michele Calgaro
fa43c29899
Fix to set -fvisibility-inlines-hidden flag only for C++ with g++ (completion of previous commit)
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
OBATA Akio
defac9d8a8
Fix to set -fvisibility-inlines-hidden flag only for C++ with g++
...
With GCC, it is valid for C++/ObjC++ but not for C.
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
OBATA Akio
48a9cf9a3c
Fix to detect Thread Execution Scheduling support correctly
...
If `_POSIX_THREAD_PRIORITY_SCHEDULING == 0`, it must be checked
with sysconf(_SC_THREAD_PRIORITY_SCHEDULING) at runtime.
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
OBATA Akio
ecbbc92b78
Remove debug config for inputmethod plugins
...
No reason to force to debug build.
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
OBATA Akio
141af55cca
Fix to set libtool special mode-args as a compiler flag
...
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
OBATA Akio
5449d37d87
Fix to record {MAJOR}.{MINOR} to `library_names` in libtool file
...
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
OBATA Akio
12dcb88d29
Fix to set `old_library` in libtool file only for `staticlib` project
...
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
OBATA Akio
e6ce806b77
Fix potentially buffer overrun related to readlink(2)
...
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
OBATA Akio
5c270c3e26
Fix to detect file conponent from path properly in Makefile generator
...
It should be either `path.right(path.length() - sep_pos - 1)` or
`path.mid(sep_pos + 1)`.
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
OBATA Akio
a31f05cb8e
Fix to detect XRandR on multi-prefix package platforms
...
Change to find two XrandR header files from invidual directory.
"Xrandr.h" is in `libXrandr`, and "randr.h" is in `xorgproto` (used to be
`randrproto`) package, so they may be installed into different prefix.
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
OBATA Akio
b6a4a5ec20
Remove unwanted code for writing png
...
`info_ptr->channels` will be set in the next called `png_set_IHDR()`,
so it is no effect.
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
OBATA Akio
5ce8516970
Change to use PKG_LIBPNG_VER for libpng version check
...
It is suggested in png.h for applications.
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
OBATA Akio
b55eac803a
Update X11 path on NetBSD
...
It should be X11R7 on modern ports with recent releases.
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
OBATA Akio
b4aab36649
Remove a symbolic link referring removed file
...
It should be removed when obsoleted TQStack class removal.
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
OBATA Akio
e37e24181b
Fix to display verbose message in some config tests
...
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
OBATA Akio
b79f0a7caa
Improve modern res API available condition
...
`__RES` is usable to check release date of resolver library.
Such modern res API appeared in BIND-8.2.0 libbind with `__RES == 19980901`,
it was refrected as BIND-8.2.2-P5 to glibc at pre 2.3 release with
`__RES == 19991006`.
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
OBATA Akio
a92e2272b8
Replace dead URLs of "SEE ALSO" section in man pages to trinity ones
...
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago