Welcome,
I'm can't compile Tqt3. When I press make, it shows me an error. Below the logs:
g++
-c -pipe -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W
-O2 -D_REENTRANT -DTQT_NO_DEBUG -DTQT_THREAD_SUPPORT -DQT_SHARED
-I/home/aleksander/tde/main/dependencies/tqt3/mkspecs/linux-g++ -I. -I../aclock -I../dclock -I../../include -I.moc/release-shared/ -o .obj/release-shared/widgets.o widgets.cpp
widgets.cpp: In member function ‘void WidgetView::showProperties()’:
widgets.cpp:750:21: error: call of overloaded ‘tqDebug(TQCString&)’ is ambiguous
tqDebug( output );
^
In file included from ../../include/ntqobjectdefs.h:45,
from ../../include/ntqwindowdefs.h:46,
from ../../include/ntqwidget.h:45,
from ../../include/ntqdialog.h:45,
from ../../include/ntqmessagebox.h:45,
from widgets.cpp:10:
../../include/ntqglobal.h:960:15: note: candidate: ‘void tqDebug(const TQString&)’
Q_EXPORT void tqDebug( const TQString& ); // print debug message
^~~~~~~
../../include/ntqglobal.h:961:15: note: candidate: ‘void tqDebug(const char*, ...)’
Q_EXPORT void tqDebug( const char *, ... ) // print debug message
^~~~~~~
widgets.cpp: In member function ‘void WidgetView::showProperties()’:
widgets.cpp:750:21: error: call of overloaded ‘tqDebug(TQCString&)’ is ambiguous
tqDebug( output );
^
In file included from ../../include/ntqobjectdefs.h:45,
from ../../include/ntqwindowdefs.h:46,
from ../../include/ntqwidget.h:45,
from ../../include/ntqdialog.h:45,
from ../../include/ntqmessagebox.h:45,
from widgets.cpp:10:
../../include/ntqglobal.h:960:15: note: candidate: ‘void tqDebug(const TQString&)’
Q_EXPORT void tqDebug( const TQString& ); // print debug message
^~~~~~~
../../include/ntqglobal.h:961:15: note: candidate: ‘void tqDebug(const char*, ...)’
Q_EXPORT void tqDebug( const char *, ... ) // print debug message
^~~~~~~
Linux OS: Ubuntu 19.04
GCC Version: 8.3.0
Computer: Lenovo Thinkpad T420
Greetings,
Onmp314