Commit Graph

463 Commits (feat/cmakeConv-r1)
 

Author SHA1 Message Date
Alexander Golubev bce94208bb cmake: set WITH_GCC_VISIBILITY to ON by default
The old ./configure has it ON by default as well

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
12 months ago
Alexander Golubev 83a22cbef3 cmake: use generated qplatformdefs.h
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
12 months ago
Alexander Golubev df2b04abca cmake: rename Q -> TQ for Q_BIG_ENDIAN, Q_LITTLE_ENDIAN and Q_BYTE_ORDER
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
12 months ago
Alexander Golubev 84df939ab9 cmake: sort options a bit and add some configuration sanity checks
Fix build with WITH_MODULE_INPUTMETHOD=OFF

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
12 months ago
Alexander Golubev f47d954825 cmake: simplify build of tools with new macros
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
12 months ago
Alexander Golubev 32d748e8fb cmake: add the rest tools to build
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
12 months ago
Alexander Golubev a0f0d4b609 cmake: enable image formats to be build as plugins
Renamed cmake options:
- WITH_TQTGIF -> WITH_IMGFMT_GIF
- WITH_JPEG -> WITH_IMGFMT_JPEG
- WITH_PNG -> WITH_IMGFMT_PNG
- WITH_LIBMNG -> WITH_IMGFMT_MNG

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
12 months ago
Alexander Golubev 7801f68701 cmake: build sql drivers as plugins
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
12 months ago
Alexander Golubev bdacb0d141 cmake: add options to build styles as plugins
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
12 months ago
Alexander Golubev bf48334d3d cmake: fix designer's icon filename
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
12 months ago
Alexander Golubev 62895ee9c0 cmake: remove config.h as it isn't needed and FTBFSs assistant
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
12 months ago
Alexander Golubev e93b93ea32 [minor]cmake: fix a typo
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
12 months ago
Alexander Golubev 19b0bae5b2 cmake: rework styles building
- fix several styles-related FTBFS when disabling a style
- use separated flags for BUILD_STULE and WITH_STYLE_ALL
- add several convenience macros

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
12 months ago
Alexander Golubev cca829fd03 cmake: fix build WITH_SOUND=OFF
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
12 months ago
Alexander Golubev bf8b880150 cmake: fix libfbclient discovery if fb_config is not present
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
12 months ago
Alexander Golubev cec28c4497 cmake: use pkg-config for mng detection
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
12 months ago
Alexander Golubev 529174f7a3 cmake: set QT_INSTALL_* varibles in a cascadig manner
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
12 months ago
Alexander Golubev e9c26fe785 cmake: rework tqt_automoc to process only headers for selected sources
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
12 months ago
gregory guy f696b7c31f Conversion to the cmake building system.
Signed-off-by: gregory guy <gregory-tde@laposte.net>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
12 months ago
Alexander Golubev fad4acbe08 Fix compilation with -disable-inputmethod and -no-inputmethod
As for now here are two sets of inputmethod options:
- -enable-inputmethod/disable-inputmethod - which seems to supposed to
  control whether build the 'inputmethod' module or not
- -inputmethod/-no-inputmethod - which seems to supposed to
  enable/disable inputmethod support without changing the ABI.

Before the patch both -disable-inputmethod and -no-inputmethod were just
breaking the build: -no-inputmethod were disabling some code with
support for the module, but didn't disabled the module build itself nor
build of plugins. -disable-inputmethod were disabling build of plugins
and module, but didn't disabled code depending upon it.

It seems the inputmethod support were still WIP when the last release of
Qt3 came to be, hence the mess.

This patch fixes the build if both -disable-inputmethod AND
-no-inputmethod are supplied. Disabling only one is not enough due to
tqmake/configure have problems handling two different options of the
same name.  Later the -inputmethod/-no-inputmethod should be probably
removed entirely.

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
12 months ago
Alexander Golubev beb37238fa Fix FTBFS with -no-xkb
The analogue of XkbKeycodeToKeysym() used to be XKeycodeToKeysym(), but
it was deprecated in favour of XGetKeyboardMapping() method.

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
12 months ago
Alexander Golubev 2f15a471f9 Fix FTBFS with -no-stl
On modern compilers placement new requires inclusion of <new>

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
12 months ago
Alexander Golubev 34587584ab avoid translating the /qt/XIMInputStyle options when saving into config
Also use "On The Spot" as the default when the setting in the config is
incorrect.

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
12 months ago
Alexander Golubev 7578fa552b gitignore: add missing examples (sound, tablet)
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
12 months ago
Alexander Golubev 3cba79c7f5 Fix FTBFS with -qt-sql-sqlite3
Fix FTBFS when sqlite3 sql driver is being built into the library

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
12 months ago
Alexander Golubev 92fe774704 fix grep complain in configure: "warning: stray \ before c"
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
1 year ago
Michele Calgaro 77697cb46c
Remove original Q_WS_* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Alexander Golubev facf04e60c Add .gitignore file
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
1 year ago
Michele Calgaro 1d318a47b0
Replace QT_STATIC_CONST_* with actual definitions
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 67bff2edca
Replace Q_WS_* defines with TQ_WS_* equivalents
This is the first part of the replacement process.
Usage of Q_WS_* has been replaced with the equivalent TQ_WS_*.
Definition of Q_WS_* has been mirrored into TQ_WS_* defines, to allow
TDE code to continue building till replacement is carried over to all
other modules.
Once that is completed, the original Q_WS_* defines will
be removed.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro fb401a891f
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Slávek Banko a9d178f100
Fix potential buffer overflow in debug functions.
This resolves issue #70.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
1 year ago
Mavridis Philippe fd6c582f15
Update README
A new README with markdown format, updated information on TQt, contributor section and translations status.

The old README has been preserved as README.Qt3 for historical reasons.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
1 year ago
Mavridis Philippe aec0061106
Add support for HistoryBackButton and HistoryForwardButton
This resolves TDE/tdebase#421.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
1 year ago
Michele Calgaro 6e5c7efaca
tqdesigner: prevent SEGV from invalid pointer. This resolves issue #97.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Signed-off-by: ormorph <roma251078@mail.ru>
1 year ago
Andrei Stepanov ee0c5d5840 Translated using Weblate (Russian)
Currently translated at 100.0% (488 of 488 strings)

Translation: dependencies/tqt3
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/dependencies/tqt3/ru/
1 year ago
Andrei Stepanov a6829398d0 Translated using Weblate (Russian)
Currently translated at 100.0% (488 of 488 strings)

Translation: dependencies/tqt3
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/dependencies/tqt3/ru/
1 year ago
Michele Calgaro 5eccf2a5e3
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 089d5266f0
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Andrei Stepanov d21227053c Translated using Weblate (Russian)
Currently translated at 100.0% (488 of 488 strings)

Translation: dependencies/tqt3
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/dependencies/tqt3/ru/
1 year ago
Michele Calgaro b35e0845dc
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 1ba13366a7
Replace Q_EXPORT_*/Q_EXTERN defines with TQ_EXPORT_*/TQ_EXTERN
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 926102a455
Replace various Q_* and QT_* defines with TQ_* and TQT_*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro e0a3cab446
Minor adjustments to porting documentation
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro f2b3ea52ef
Drop compatibility code for TQSignal
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro fb6884ead2
Drop compatibility code for TQPalette
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Slávek Banko 2e817b4bc1
Remove dangled symlinks for droped compat headers.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
2 years ago
Michele Calgaro c3bb88817b
Drop compatibility code for TQButton
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 9492e618a7
Drop compatibility code for TQThread
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 979f5621d7
Drop compatibility code for TQLineEdit
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago