Welcome, Guest
Username: Password: Remember me
CodeTyphon Platforms (Win32/64, GTK2/3/4, QT4/5/6, Cocoa, FpGUI etc) Development, discussions and problems
  • Page:
  • 1

TOPIC:

QT4 and Linux 3 years 2 months ago #16087

  • Raúl
  • Raúl's Avatar Topic Author
  • Visitor
  • Visitor
Hello,

it's possible to compile Codeyphon and libpasqt 4.0 under Ubuntu? I succeded when using OpenSuse, but I get error messages with Ubuntu:

data loss from "UnicodeString" to "AnsiString"
/usr/local/codetyphon/typhon/ide/ct_main.pp(1420,3) Note: (5025) Local variable "ConfigFile" not used
/usr/local/codetyphon/typhon/ide/ct_main.pp(7987,19) Warning: (5033) Function result does not seem to be set
/usr/local/codetyphon/typhon/ide/ct_main.pp(9691,3) Note: (5027) Local variable "c" is assigned but never used
/usr/local/codetyphon/typhon/ide/ct_main.pp(14329,19) Warning: (5033) Function result does not seem to be set
/usr/local/codetyphon/typhon/ide/ct_main.pp(14338,19) Warning: (5033) Function result does not seem to be set
/usr/local/codetyphon/typhon/ide/ct_main.pp(14382,19) Warning: (5033) Function result does not seem to be set
/usr/local/codetyphon/typhon/ide/ct_main.pp(14391,19) Warning: (5033) Function result does not seem to be set
/usr/local/codetyphon/typhon/ide/ct_main.pp(14400,19) Warning: (5033) Function result does not seem to be set
/usr/local/codetyphon/typhon/ide/ct_main.pp(14409,19) Warning: (5033) Function result does not seem to be set
/usr/local/codetyphon/typhon/ide/ct_main.pp(14418,19) Warning: (5033) Function result does not seem to be set
/usr/local/codetyphon/typhon/ide/ct_main.pp(14427,19) Warning: (5033) Function result does not seem to be set
/usr/local/codetyphon/typhon/ide/ct_main.pp(14436,19) Warning: (5033) Function result does not seem to be set
(9022) Compiling resource ../units/i386-linux/qt/typhon.or
(9015) Linking ../typhon
[b]/usr/bin/ld: se salta el /usr/lib/x86_64-linux-gnu/libQt4Pas.so incompatible mientras se busca -lQt4Pas
/usr/bin/ld: no se puede encontrar -lQt4Pas[/b]
/usr/local/codetyphon/typhon/ide/typhon.pp(137,1) Error: (9013) [b]Error while linking[/b]
/usr/local/codetyphon/typhon/ide/typhon.pp(137,1) Fatal: (10026) There were 1 errors compiling module, stopping
Fatal: (1018) Compilation aborted
make[2]: *** [Makefile:4839: typhon] Error 1
make[2]: se sale del directorio '/usr/local/codetyphon/typhon/ide'
make[1]: *** [Makefile:5269: ide] Error 2
make[1]: se sale del directorio '/usr/local/codetyphon/typhon/ide'
make: *** [Makefile:3731: ide] Error 2
mv: no se puede efectuar `stat' sobre 'typhon': No existe el archivo o el directorio
mv: no se puede efectuar `stat' sobre 'typhonstart': No existe el archivo o el directorio
   
 ------------------------------------------------------
   
[INFO]: Clean Tools Directory
   
   
??????????????????????????????????????????????????????????
[ERROR]: Sorry, Typhon32 Small IDE i386-linux-qt4 NOT Build
??????????????????????????????????????????????????????????
   
==============================================================
    Build Typhon32 BIG IDE i386-linux-qt4 for Linux
==============================================================
   
   
[ERROR]: Sorry, Typhon32 from Small-IDE NOT Build
         please remove and build Typhon again...
   
   
==============================================================
  Build Typhon64 Small IDE x86_64-linux-qt4 for Linux
==============================================================
   
  


... and later:


(...)

/usr/bin/ld: /lib/x86_64-linux-gnu//libQt4Pas.so: referencia a `QFrame::setFrameShadow(QFrame::Shadow)' sin definir
/usr/bin/ld: /lib/x86_64-linux-gnu//libQt4Pas.so: referencia a `QRegion::translated(int, int) const' sin definir
/usr/bin/ld: /lib/x86_64-linux-gnu//libQt4Pas.so: referencia a `QComboBox::count() const' sin definir
/usr/bin/ld: /lib/x86_64-linux-gnu//libQt4Pas.so: referencia a `QPalette::QPalette(QPalette const&;)' sin definir
/usr/bin/ld: /lib/x86_64-linux-gnu//libQt4Pas.so: referencia a `QGraphicsScene::setSelectionArea(QPainterPath const&;)' sin definir
/usr/bin/ld: /lib/x86_64-linux-gnu//libQt4Pas.so: referencia a `QVariant::QVariant(QBitArray const&;)' sin definir
/usr/bin/ld: /lib/x86_64-linux-gnu//libQt4Pas.so: referencia a `QMetaObject::trUtf8(char const*, char const*, int) const' sin definir
/usr/bin/ld: /lib/x86_64-linux-gnu//libQt4Pas.so: referencia a `QCalendarWidget::setMaximumDate(QDate const&;)' sin definir
/usr/local/codetyphon/typhon/ide/typhon.pp(137,1) Error: (9013) [b]Error while linking[/b]
/usr/local/codetyphon/typhon/ide/typhon.pp(137,1) Fatal: (10026) There were 1 errors compiling module, stopping
Fatal: (1018) Compilation aborted
make[2]: *** [Makefile:4839: typhon] Error 1
make[2]: se sale del directorio '/usr/local/codetyphon/typhon/ide'
make[1]: *** [Makefile:5269: ide] Error 2
make[1]: se sale del directorio '/usr/local/codetyphon/typhon/ide'
make: *** [Makefile:3731: ide] Error 2
mv: no se puede efectuar `stat' sobre 'typhon': No existe el archivo o el directorio
mv: no se puede efectuar `stat' sobre 'typhonstart': No existe el archivo o el directorio
   
 ------------------------------------------------------
   
[INFO]: Clean Tools Directory
   
   
??????????????????????????????????????????????????????????
[ERROR]: Sorry, Typhon64 Small IDE x86_64-linux-qt4 NOT Build
??????????????????????????????????????????????????????????
   
==============================================================
   Build Typhon64 BIG IDE x86_64-linux-qt4 for Linux
==============================================================
   
   
[ERROR]: Sorry, Typhon64 from Small-IDE NOT Build
         please remove and build Typhon again...




regards,

Please Log in or Create an account to join the conversation.

Last edit: by Raúl.

QT4 and Linux 3 years 2 months ago #16088

  • Raúl
  • Raúl's Avatar Topic Author
  • Visitor
  • Visitor
It looks like the library libqt4pas doesn't compile :-(

Please Log in or Create an account to join the conversation.

QT4 and Linux 3 years 2 months ago #16089

  • Raúl
  • Raúl's Avatar Topic Author
  • Visitor
  • Visitor
QT 5 compiles without problem.

regards

Please Log in or Create an account to join the conversation.

QT4 and Linux 3 years 2 months ago #16090

  • Raúl
  • Raúl's Avatar Topic Author
  • Visitor
  • Visitor
I have just found there's a binary library in CT's  folder. What am I doing wrong?

 
Attachments:

Please Log in or Create an account to join the conversation.

QT4 and Linux 3 years 2 months ago #16091

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1106
  • Thank you received: 162
First Install from CTCenter libraries for QT4,
then Just

 

For you info Latest Ubuntu,Debian 11 etc NOT have QT4 libraries
Only latest Fedora 34 has QT4 libraries.
PilotLogic Core Programmer
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by Matis A..

QT4 and Linux 3 years 2 months ago #16092

  • Raúl
  • Raúl's Avatar Topic Author
  • Visitor
  • Visitor
Thanks Matis, I believe there's another problem.

Eventhough I executed the installation of platform libraries from the setup bash script I cant run CTCenter. I get a missing library error. (Ubuntu 20.04).

 
Attachments:

Please Log in or Create an account to join the conversation.

QT4 and Linux 3 years 2 months ago #16093

  • Raúl
  • Raúl's Avatar Topic Author
  • Visitor
  • Visitor
QTWebKit problem. Isn't supposed to be installed when you select 0?

Please Log in or Create an account to join the conversation.

QT4 and Linux 3 years 2 months ago #16094

  • Raúl
  • Raúl's Avatar Topic Author
  • Visitor
  • Visitor
By the way, and this is an open question, it's still worthy to compile under QT4 nowadays? Does QT5 is present in all modern distros?

Please Log in or Create an account to join the conversation.

QT4 and Linux 3 years 2 months ago #16095

  • Raúl
  • Raúl's Avatar Topic Author
  • Visitor
  • Visitor

QTWebKit problem. Isn't supposed to be installed when you select 0?

 
Ok. It seems that libqtwebkit is not any longer available in Ubuntu 20.04. :-/
apt install libqtwebkit4
and 
apt-file search libQtWebKit.so.4

does not work.

regards

Please Log in or Create an account to join the conversation.

Last edit: by Raúl.

QT4 and Linux 3 years 2 months ago #16096

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1106
  • Thank you received: 162
ALL latest Linux distributions don't support QT4 API anymore.
The same for FreeBSD, NetBSD, OpenBSD and DragonFly OSes.

Some Linux distributions like the latest Fedora 34 have support QT4 API,
but I don't know if the next release of these distributions will support QT4.

Now, the new QT6 API, it's a commercial Library, so the future of QTx "based" desktops (Plasma, LXQT, etc) are NOT so good.
QT4 and QT5 don't have source support anymore.

Put to the above problem and the GTKx problem then
Linux Desktop has a lot of problems.....



To install QT4 or any (Desk libraries) with CTCenter:

1) Set to CTCenter=>CodeTyphon=>Settings=> QT4

 


2) Go to CTCenter=>HostPC=> "Install System Libraries for QT4"

 

Screens from Fedora34-MATE


 
PilotLogic Core Programmer
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by Matis A..
  • Page:
  • 1