Last active
August 29, 2015 14:06
-
-
Save hjhart/a16b26ecc0bbf33f0a30 to your computer and use it in GitHub Desktop.
Compiling webkit_server on SmartOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Error 1: | |
changed WindowMaximize.cpp | |
Also changed something to include QApplication because QApplication does not exist by default. | |
error: incomplete type ‘QApplication’ used in nested name specifier | |
#include <QApplication> | |
Error 2: | |
Changed the WebPage.h page to add | |
#include "qglobal.h" | |
because error message: | |
WebPage.h:3:35: error: missing binary operator before token "(" | |
Makefile.webkit_server:1024: recipe for target 'build/WebPage.lo' failed | |
Referencing | |
#if (QT_VERSION < QT_VERSION_CHECK(5, 0, 0)) | |
StdinNotifier.cpp:6:51: error: incomplete type 'QSocketNotifier' used in nested name specifier | |
Error 3: | |
StdinNotifier.cpp: In constructor 'StdinNotifier::StdinNotifier(QObject*)': | |
StdinNotifier.cpp:6:51: error: incomplete type 'QSocketNotifier' used in nested name specifier | |
StdinNotifier.cpp:6:78: error: invalid use of incomplete type 'class QSocketNotifier' | |
In file included from StdinNotifier.cpp:1:0: | |
StdinNotifier.h:3:7: error: forward declaration of 'class QSocketNotifier' | |
StdinNotifier.cpp:7:78: error: no matching function for call to 'StdinNotifier::connect(QSocketNotifier*&, const char [16], StdinNotifier* const, const char [21])' | |
StdinNotifier.cpp:7:78: note: candidates are: | |
In file included from /opt/local/qt4/include/QtCore/QObject:1:0, | |
from StdinNotifier.h:1, | |
from StdinNotifier.cpp:1: | |
Okay, another issue fixed maybe: Inside of StdinNotifier.cpp | |
#include <Q> | |
#include <QSocketNotifier> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment