summaryrefslogtreecommitdiffstats
path: root/src/tools/tqlibrary_unix.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2026-01-17 19:34:22 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2026-01-17 19:34:22 +0900
commit2080def64c64099ea7685d903d070e028a8cb916 (patch)
treef645ca3060a53cae9729cf3e9256da820e534e35 /src/tools/tqlibrary_unix.cpp
parent37a07263c70308f7ddef4aac747446d5ede82374 (diff)
downloadtqt-drop/hpux-support.tar.gz
tqt-drop/hpux-support.zip
Remove support for HPUX, which is discontinued and does not provide a c++17 complaint compiler.drop/hpux-support
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/tools/tqlibrary_unix.cpp')
-rw-r--r--src/tools/tqlibrary_unix.cpp51
1 files changed, 0 insertions, 51 deletions
diff --git a/src/tools/tqlibrary_unix.cpp b/src/tools/tqlibrary_unix.cpp
index 7e2997087..f7122d381 100644
--- a/src/tools/tqlibrary_unix.cpp
+++ b/src/tools/tqlibrary_unix.cpp
@@ -56,55 +56,6 @@
It's not too hard to guess what the functions do.
*/
-#if defined(QT_HPUX_LD) // for HP-UX < 11.x and 32 bit
-
-bool TQLibraryPrivate::loadLibrary()
-{
- if ( pHnd )
- return true;
-
- TQString filename = library->library();
-
- pHnd = (void*)shl_load( filename.latin1(), BIND_DEFERRED | BIND_NONFATAL | DYNAMIC_PATH, 0 );
-#if defined(QT_DEBUG) || defined(QT_DEBUG_COMPONENT)
- if ( !pHnd )
- tqWarning( "%s: failed to load library!", filename.latin1() );
-#endif
- return pHnd != 0;
-}
-
-bool TQLibraryPrivate::freeLibrary()
-{
- if ( !pHnd )
- return true;
-
- if ( shl_unload( (shl_t)pHnd ) ) {
-#if defined(QT_DEBUG) || defined(QT_DEBUG_COMPONENT)
- TQString filename = library->library();
- tqWarning( "%s: Failed to unload library!", filename.latin1() );
-#endif
- return false;
- }
- pHnd = 0;
- return true;
-}
-
-void* TQLibraryPrivate::resolveSymbol( const char* symbol )
-{
- if ( !pHnd )
- return 0;
-
- void* address = 0;
- if ( shl_findsym( (shl_t*)&pHnd, symbol, TYPE_UNDEFINED, &address ) < 0 ) {
-#if defined(QT_DEBUG_COMPONENT)
- TQString filename = library->library();
- tqWarning( "%s: couldn't resolve symbol \"%s\"", filename.latin1(), symbol );
-#endif
- }
- return address;
-}
-
-#else // POSIX
#include <dlfcn.h>
#ifndef DL_PREFIX //for mac dlcompat
# define DL_PREFIX(x) x
@@ -164,6 +115,4 @@ void* TQLibraryPrivate::resolveSymbol( const char* symbol )
return address;
}
-#endif // POSIX
-
#endif