mirror of https://github.com/vitalif/phantomjs
commit
7448af2f69
|
@ -45,6 +45,11 @@ int main(int argc, char** argv, const char** envp)
|
|||
|
||||
QApplication app(argc, argv);
|
||||
|
||||
#ifdef STATIC_BUILD
|
||||
Q_INIT_RESOURCE(WebKit);
|
||||
Q_INIT_RESOURCE(InspectorBackendStub);
|
||||
#endif
|
||||
|
||||
app.setWindowIcon(QIcon(":/phantomjs-icon.png"));
|
||||
app.setApplicationName("PhantomJS");
|
||||
app.setOrganizationName("Ofi Labs");
|
||||
|
|
|
@ -68,3 +68,6 @@ mac {
|
|||
# Uncomment to build a Mac OS X Universal Binary (i.e. x86 + ppc)
|
||||
# CONFIG += x86 ppc
|
||||
}
|
||||
CONFIG(static) {
|
||||
DEFINES += STATIC_BUILD
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue