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: umbrello-de...@kde.org
          Reporter: c...@roberthairgrove.com
  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 watching all bug changes.

Reply via email to