Skip to content

Instantly share code, notes, and snippets.

@kaero
Last active August 29, 2015 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kaero/bf5520c55d15c5ab762e to your computer and use it in GitHub Desktop.
Save kaero/bf5520c55d15c5ab762e to your computer and use it in GitHub Desktop.
$ make openmw-wizard
Scanning dependencies of target components
[ 0%] Building CXX object components/CMakeFiles/components.dir/process/processinvoker.cpp.o
openmw_pvdk/components/process/processinvoker.cpp:65:14: error: use of undeclared identifier 'QCoreApplication'; did you mean 'QApplication'?
QDir dir(QCoreApplication::applicationDirPath());
^~~~~~~~~~~~~~~~
QApplication
/Library/Frameworks/QtGui.framework/Headers/qwindowdefs.h:87:7: note: 'QApplication' declared here
class QApplication;
^
openmw_pvdk/components/process/processinvoker.cpp:65:14: error: incomplete type 'QApplication' named in nested name specifier
QDir dir(QCoreApplication::applicationDirPath());
^~~~~~~~~~~~~~~~~~
/Library/Frameworks/QtCore.framework/Headers/qobject.h:325:18: note: forward declaration of 'QApplication'
friend class QApplication;
^
openmw_pvdk/components/process/processinvoker.cpp:65:13: warning: parentheses were disambiguated as a function declaration [-Wvexing-parse]
QDir dir(QCoreApplication::applicationDirPath());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
openmw_pvdk/components/process/processinvoker.cpp:65:14: note: add a pair of parentheses to declare a variable
QDir dir(QCoreApplication::applicationDirPath());
^
(
1 warning and 2 errors generated.
make[3]: *** [components/CMakeFiles/components.dir/process/processinvoker.cpp.o] Error 1
make[2]: *** [components/CMakeFiles/components.dir/all] Error 2
make[1]: *** [apps/wizard/CMakeFiles/openmw-wizard.dir/rule] Error 2
make: *** [openmw-wizard] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment