[umbrello] [Bug 460049] New: Build fails with Qt 5.15.5

"Robert Hairgrove" <[email protected]>
Newsgroups gmane.linux.umbrello.devel
Message-ID <[email protected]/>
https://bugs.kde.org/show_bug.cgi?id=460049

            Bug ID: 460049
           Summary: Build fails with Qt 5.15.5
    Classification: Applications
           Product: umbrello
           Version: Git
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

SUMMARY
Building Umbrello from Git master fails with Qt 5.15.5 installed from
self-compiled source code

STEPS TO REPRODUCE
1. Download code from Umbrello master, extract ZIP file to
"/home/<user>/umbrello-master"
2. Follow instructions in INSTALL
3. CMake seems to succeed, but "make" fails

OBSERVED RESULT
```Scanning dependencies of target kdevphpparser
[  7%] Building CXX object
lib/kdev5-php/parser/CMakeFiles/kdevphpparser.dir/kdevphpparser_autogen/mocs_compilation.cpp.o
[  7%] Building CXX object
lib/kdev5-php/parser/CMakeFiles/kdevphpparser.dir/phpparser.cpp.o
[  7%] Building CXX object
lib/kdev5-php/parser/CMakeFiles/kdevphpparser.dir/phpvisitor.cpp.o
[  7%] Building CXX object
lib/kdev5-php/parser/CMakeFiles/kdevphpparser.dir/phpdefaultvisitor.cpp.o
[  8%] Building CXX object
lib/kdev5-php/parser/CMakeFiles/kdevphpparser.dir/phplexer.cpp.o
[  8%] Building CXX object
lib/kdev5-php/parser/CMakeFiles/kdevphpparser.dir/parsesession.cpp.o
[  8%] Building CXX object
lib/kdev5-php/parser/CMakeFiles/kdevphpparser.dir/parserdebug.cpp.o
[  8%] Linking CXX static library libkdevphpparser.a
[  8%] Built target kdevphpparser
Scanning dependencies of target php-parser_autogen
[  8%] Automatic MOC for target php-parser
[  8%] Built target php-parser_autogen
Scanning dependencies of target php-parser
[  9%] Building CXX object
lib/kdev5-php/parser/CMakeFiles/php-parser.dir/php-parser_autogen/mocs_compilation.cpp.o
[  9%] Building CXX object
lib/kdev5-php/parser/CMakeFiles/php-parser.dir/main.cpp.o
[  9%] Linking CXX executable php-parser
/usr/local/Qt-5.15.5/lib/libQt5Qml.so.5: undefined reference to
`QNetworkRequest::QNetworkRequest()@Qt_5'
/usr/lib/x86_64-linux-gnu/libQt5Network.so.5.9.5: undefined reference to
`QMetaObjectPrivate::signalOffset(QMetaObject const*)@Qt_5'
/usr/lib/x86_64-linux-gnu/libQt5Network.so.5.9.5: undefined reference to
`QMutexPool::globalInstanceGet(void const*)@Qt_5_PRIVATE_API'
//usr/lib/x86_64-linux-gnu/libKF5Declarative.so.5: undefined reference to
`QQmlPropertyMap::init(QMetaObject const*)@Qt_5'
/usr/lib/x86_64-linux-gnu/libQt5Network.so.5.9.5: undefined reference to
`QMetaCallEvent::QMetaCallEvent(QtPrivate::QSlotObjectBase*, QObject const*,
int, int, int*, void**, QSemaphore*)@Qt_5_PRIVATE_API'
/usr/lib/x86_64-linux-gnu/libQt5Network.so.5.9.5: undefined reference to
`QIPAddressUtils::toString(QString&, unsigned char*)@Qt_5'
/usr/local/Qt-5.15.5/lib/libQt5Quick.so.5: undefined reference to
`QAbstractSocket::errorOccurred(QAbstractSocket::SocketError)@Qt_5'
//usr/lib/x86_64-linux-gnu/libKF5Declarative.so.5: undefined reference to
`QQmlPropertyMap::allocatePrivate()@Qt_5'
collect2: error: ld returned 1 exit status
lib/kdev5-php/parser/CMakeFiles/php-parser.dir/build.make:119: recipe for
target 'lib/kdev5-php/parser/php-parser' failed
make[2]: *** [lib/kdev5-php/parser/php-parser] Error 1
CMakeFiles/Makefile2:1237: recipe for target
'lib/kdev5-php/parser/CMakeFiles/php-parser.dir/all' failed
make[1]: *** [lib/kdev5-php/parser/CMakeFiles/php-parser.dir/all] Error 2
Makefile:159: recipe for target 'all' failed
make: *** [all] Error 2
```
EXPECTED RESULT
Expect it to build properly

SOFTWARE/OS VERSIONS
Linux: Ubuntu 18.04.6 
KDE Plasma Version: ???
KDE Frameworks Version: ??? 
Qt Version: 5.15.5

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.