QT Creator Issues

The hands of the Atlas are tireless.
Post Reply
tippythop
Posts: 1
Joined: Sat Dec 08, 2018 4:43 am

QT Creator Issues

Post by tippythop » Sat Dec 08, 2018 4:48 am

So I am no novice to building projects I've just never used QT before. I have used eclipse and visual studio countless times over the years. I have QT for windows, pretty sure I followed every step. I am getting an error during the build process. I noticed the wiki didn't specify whether to get develop or master branch, but noticed the pic in the wiki showed master. I did develop branch from the start and got the error as well as the same error under master.

It seems Common.gen.cpp doesn't exist in the repository.

Code: Select all

In file included from C:\Users\Zach\Documents\build-Segs-Master-Desktop_Qt_5_9_7_MinGW_32bit-Default\Utilities\slav\slav_autogen\mocs_compilation.cpp:2:0:
C:\Users\Zach\Documents\build-Segs-Master-Desktop_Qt_5_9_7_MinGW_32bit-Default\Utilities\slav\slav_autogen\EWIEGA46WW/moc_FileSignatureWorker.cpp: In static member function 'static void FileSignatureWorker::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)':
C:\Users\Zach\Documents\build-Segs-Master-Desktop_Qt_5_9_7_MinGW_32bit-Default\Utilities\slav\slav_autogen\EWIEGA46WW/moc_FileSignatureWorker.cpp:98:97: warning: useless cast to type '_t {aka void (FileSignatureWorker::*)()}' [-Wuseless-cast]
             if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FileSignatureWorker::finished)) {
                                                                                                 ^
C:\Users\Zach\Documents\build-Segs-Master-Desktop_Qt_5_9_7_MinGW_32bit-Default\Utilities\slav\slav_autogen\EWIEGA46WW/moc_FileSignatureWorker.cpp:105:97: warning: useless cast to type '_t {aka void (FileSignatureWorker::*)(QString, float)}' [-Wuseless-cast]
             if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FileSignatureWorker::progress)) {
                                                                                                 ^
C:\Users\Zach\Documents\build-Segs-Master-Desktop_Qt_5_9_7_MinGW_32bit-Default\Utilities\slav\slav_autogen\EWIEGA46WW/moc_FileSignatureWorker.cpp:112:94: warning: useless cast to type '_t {aka void (FileSignatureWorker::*)(QString)}' [-Wuseless-cast]
             if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FileSignatureWorker::error)) {
                                                                                              ^
In file included from C:\Users\Zach\Documents\build-Segs-Master-Desktop_Qt_5_9_7_MinGW_32bit-Default\Utilities\slav\slav_autogen\mocs_compilation.cpp:3:0:
C:\Users\Zach\Documents\build-Segs-Master-Desktop_Qt_5_9_7_MinGW_32bit-Default\Utilities\slav\slav_autogen\EWIEGA46WW/moc_SLAVLogic.cpp: In static member function 'static void SLAVLogic::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)':
C:\Users\Zach\Documents\build-Segs-Master-Desktop_Qt_5_9_7_MinGW_32bit-Default\Utilities\slav\slav_autogen\EWIEGA46WW/moc_SLAVLogic.cpp:112:89: warning: useless cast to type '_t {aka void (SLAVLogic::*)(AppVersionManifest*, const QString&)}' [-Wuseless-cast]
             if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SLAVLogic::needUpdate)) {
                                                                                         ^
In file included from C:\Users\Zach\Documents\build-Segs-Master-Desktop_Qt_5_9_7_MinGW_32bit-Default\Utilities\slav\slav_autogen\mocs_compilation.cpp:4:0:
C:\Users\Zach\Documents\build-Segs-Master-Desktop_Qt_5_9_7_MinGW_32bit-Default\Utilities\slav\slav_autogen\EWIEGA46WW/moc_ServerConnection.cpp: In static member function 'static void ServerConnection::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)':
C:\Users\Zach\Documents\build-Segs-Master-Desktop_Qt_5_9_7_MinGW_32bit-Default\Utilities\slav\slav_autogen\EWIEGA46WW/moc_ServerConnection.cpp:150:102: warning: useless cast to type '_t {aka void (ServerConnection::*)(const QString&, long long int, long long int)}' [-Wuseless-cast]
             if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ServerConnection::downloadProgress)) {
                                                                                                      ^
C:\Users\Zach\Documents\build-Segs-Master-Desktop_Qt_5_9_7_MinGW_32bit-Default\Utilities\slav\slav_autogen\EWIEGA46WW/moc_ServerConnection.cpp:157:100: warning: useless cast to type '_t {aka void (ServerConnection::*)(const QString&)}' [-Wuseless-cast]
             if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ServerConnection::networkFailure)) {
                                                                                                    ^
C:\Users\Zach\Documents\build-Segs-Master-Desktop_Qt_5_9_7_MinGW_32bit-Default\Utilities\slav\slav_autogen\EWIEGA46WW/moc_ServerConnection.cpp:164:103: warning: useless cast to type '_t {aka void (ServerConnection::*)(QString, QString)}' [-Wuseless-cast]
             if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ServerConnection::retrievedManifest)) {
                                                                                                       ^
C:\Users\Zach\Documents\build-Segs-Master-Desktop_Qt_5_9_7_MinGW_32bit-Default\Utilities\slav\slav_autogen\EWIEGA46WW/moc_ServerConnection.cpp:171:102: warning: useless cast to type '_t {aka void (ServerConnection::*)(ProjectApp*)}' [-Wuseless-cast]
             if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ServerConnection::appDataAvailable)) {
                                                                                                      ^
C:\Users\Zach\Documents\build-Segs-Master-Desktop_Qt_5_9_7_MinGW_32bit-Default\Utilities\slav\slav_autogen\EWIEGA46WW/moc_ServerConnection.cpp:178:106: warning: useless cast to type '_t {aka void (ServerConnection::*)(ProjectList*)}' [-Wuseless-cast]
             if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ServerConnection::projectListAvailable)) {
                                                                                                          ^
C:\Users\Zach\Documents\build-Segs-Master-Desktop_Qt_5_9_7_MinGW_32bit-Default\Utilities\slav\slav_autogen\EWIEGA46WW/moc_ServerConnection.cpp:185:103: warning: useless cast to type '_t {aka void (ServerConnection::*)(AppVersionManifest*)}' [-Wuseless-cast]
             if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ServerConnection::manifestAvailable)) {
                                                                                                       ^
In file included from C:\Users\Zach\Documents\build-Segs-Master-Desktop_Qt_5_9_7_MinGW_32bit-Default\Utilities\slav\slav_autogen\mocs_compilation.cpp:5:0:
C:\Users\Zach\Documents\build-Segs-Master-Desktop_Qt_5_9_7_MinGW_32bit-Default\Utilities\slav\slav_autogen\EWIEGA46WW/moc_UpdaterDlg.cpp: In static member function 'static void UpdaterDlg::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)':
C:\Users\Zach\Documents\build-Segs-Master-Desktop_Qt_5_9_7_MinGW_32bit-Default\Utilities\slav\slav_autogen\EWIEGA46WW/moc_UpdaterDlg.cpp:109:102: warning: useless cast to type '_t {aka void (UpdaterDlg::*)(ServerDescriptor*)}' [-Wuseless-cast]
             if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UpdaterDlg::requestUpdateForServer)) {
                                                                                                      ^
[ 13%] Linking CXX executable ..\..\out\slav.exe
[ 13%] Built target slav
Scanning dependencies of target ManifestBuilder_autogen
[ 13%] Automatic MOC and UIC for target ManifestBuilder
[ 13%] Built target ManifestBuilder_autogen
Scanning dependencies of target ManifestBuilder
[ 13%] Building CXX object Utilities/slav/CMakeFiles/ManifestBuilder.dir/ManifestBuilder.cpp.obj
[ 14%] Building CXX object Utilities/slav/CMakeFiles/ManifestBuilder.dir/ProjectManifest.cpp.obj
[ 14%] Building CXX object Utilities/slav/CMakeFiles/ManifestBuilder.dir/FileSignatureWorker.cpp.obj
[ 15%] Building CXX object Utilities/slav/CMakeFiles/ManifestBuilder.dir/ManifestBuilder_autogen/mocs_compilation.cpp.obj
In file included from C:\Users\Zach\Documents\build-Segs-Master-Desktop_Qt_5_9_7_MinGW_32bit-Default\Utilities\slav\ManifestBuilder_autogen\mocs_compilation.cpp:2:0:
C:\Users\Zach\Documents\build-Segs-Master-Desktop_Qt_5_9_7_MinGW_32bit-Default\Utilities\slav\ManifestBuilder_autogen\EWIEGA46WW/moc_FileSignatureWorker.cpp: In static member function 'static void FileSignatureWorker::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)':
C:\Users\Zach\Documents\build-Segs-Master-Desktop_Qt_5_9_7_MinGW_32bit-Default\Utilities\slav\ManifestBuilder_autogen\EWIEGA46WW/moc_FileSignatureWorker.cpp:98:97: warning: useless cast to type '_t {aka void (FileSignatureWorker::*)()}' [-Wuseless-cast]
             if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FileSignatureWorker::finished)) {
                                                                                                 ^
C:\Users\Zach\Documents\build-Segs-Master-Desktop_Qt_5_9_7_MinGW_32bit-Default\Utilities\slav\ManifestBuilder_autogen\EWIEGA46WW/moc_FileSignatureWorker.cpp:105:97: warning: useless cast to type '_t {aka void (FileSignatureWorker::*)(QString, float)}' [-Wuseless-cast]
             if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FileSignatureWorker::progress)) {
                                                                                                 ^
C:\Users\Zach\Documents\build-Segs-Master-Desktop_Qt_5_9_7_MinGW_32bit-Default\Utilities\slav\ManifestBuilder_autogen\EWIEGA46WW/moc_FileSignatureWorker.cpp:112:94: warning: useless cast to type '_t {aka void (FileSignatureWorker::*)(QString)}' [-Wuseless-cast]
             if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FileSignatureWorker::error)) {
                                                                                              ^
[ 15%] Linking CXX executable ..\..\out\ManifestBuilder.exe
[ 15%] Built target ManifestBuilder
Scanning dependencies of target event_gen
[ 16%] Building CXX object Utilities/event_gen/CMakeFiles/event_gen.dir/main.cpp.obj
[ 16%] Linking CXX executable ..\..\out\event_gen.exe
[ 16%] Built target event_gen
[ 16%] Generating Common implementation source
The system cannot find the file specified
Components\CMakeFiles\SEGS_Components.dir\build.make:77: recipe for target 'Components/Common.gen.cpp' failed
mingw32-make.exe[2]: *** [Components/Common.gen.cpp] Error 1
CMakeFiles\Makefile2:500: recipe for target 'Components/CMakeFiles/SEGS_Components.dir/all' failed
Makefile:128: recipe for target 'all' failed
mingw32-make.exe[1]: *** [Components/CMakeFiles/SEGS_Components.dir/all] Error 2
mingw32-make.exe: *** [all] Error 2
22:28:34: The process "C:\Program Files\CMake\bin\cmake.exe" exited with code 2.
Error while building/deploying project SEGS (kit: Desktop Qt 5.9.7 MinGW 32bit)
When executing step "CMake Build"
22:28:34: Elapsed time: 06:13.

User avatar
broxen
Posts: 62
Joined: Tue Jun 07, 2016 8:26 am
Location: USA
Contact:

Re: QT Creator Issues

Post by broxen » Mon Jan 07, 2019 8:20 pm

Please jump into #troubleshooting in our https://discord.segs.io and we'll help walk you through it.

It looks like maybe Unit Testing is disabled in build configuration. You might start by looking for that.

Also, feel free to post an issue on our github: https://github.com/Segs/Segs/issues/new/choose
-broxen

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests