Install Whoops (prefer version 2)
cd projectfolder
composer require filp/whoops
Or edite composer.json and set require values, like this:
| #include "wallacewindow.h" | |
| #include <QApplication> | |
| int main(int argc, char *argv[]) | |
| { | |
| QApplication a(argc, argv); | |
| WallaceWindow w; | |
| w.show(); | |
| return a.exec(); |
| #!/usr/bin/env bash | |
| SCRIPT_PATH=$(realpath "$0") | |
| CALLING_FROM=$(pwd) | |
| if [ -d "$CALLING_FROM" ]; then | |
| CALLING_DIR=$CALLING_FROM | |
| else | |
| CALLING_DIR=$(dirname "$CALLING_FROM") | |
| fi |
Install Whoops (prefer version 2)
cd projectfolder
composer require filp/whoops
Or edite composer.json and set require values, like this:
| <!doctype html> | |
| <!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ --> | |
| <html> | |
| <head> | |
| <title>iOS 8 web app</title> | |
| <!-- CONFIGURATION --> |
| QObject::connect(ui->webView, SIGNAL(loadFinished(bool)), this, SLOT(loadedWebView(bool))); | |
| ... | |
| void Form::loadedWebView(const bool a) { | |
| Q_UNUSED(a); | |
| QString scriptContent = "function TEST() { alert(1); }"; | |
| QString injectionJS = "(function() { var newdom = document.createElement('script');"; |