Closed dprobinson closed 6 years ago
Following the build instructions from the front page, and also using the PKGBUILD from the AUR results in the following error:
[ 45%] Building CXX object src/CMakeFiles/nitroshare.dir/application/splashdialog.cpp.o /home/Downloads/nitroshare/src/nitroshare-desktop-0.3.4/src/application/splashdialog.cpp: In constructor ‘SplashDialog::SplashDialog()’: /home/Downloads/nitroshare/src/nitroshare-desktop-0.3.4/src/application/splashdialog.cpp:40:25: error: incomplete type ‘QStyle’ used in nested name specifier setGeometry(QStyle::alignedRect(Qt::LeftToRight, Qt::AlignCenter, size(), QApplication::desktop()->availableGeometry())); ^~~ make[2]: [src/CMakeFiles/nitroshare.dir/build.make:168: src/CMakeFiles/nitroshare.dir/application/splashdialog.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:158: src/CMakeFiles/nitroshare.dir/all] Error 2 make: *** [Makefile:130: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...
Apologies, I've just realised I posted this to the Android repo, and it's already been fixed in the desktop version.
Following the build instructions from the front page, and also using the PKGBUILD from the AUR results in the following error:
[ 45%] Building CXX object src/CMakeFiles/nitroshare.dir/application/splashdialog.cpp.o /home/Downloads/nitroshare/src/nitroshare-desktop-0.3.4/src/application/splashdialog.cpp: In constructor ‘SplashDialog::SplashDialog()’: /home/Downloads/nitroshare/src/nitroshare-desktop-0.3.4/src/application/splashdialog.cpp:40:25: error: incomplete type ‘QStyle’ used in nested name specifier setGeometry(QStyle::alignedRect(Qt::LeftToRight, Qt::AlignCenter, size(), QApplication::desktop()->availableGeometry())); ^
~~make[2]: [src/CMakeFiles/nitroshare.dir/build.make:168: src/CMakeFiles/nitroshare.dir/application/splashdialog.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:158: src/CMakeFiles/nitroshare.dir/all] Error 2 make: *** [Makefile:130: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...