Informative qDebug()
Informative debugging output for qDebug?
#define DEBUG() qDebug() << __PRETTY_FUNCTION__ << __LINE__
Informative debugging output for qDebug?
#define DEBUG() qDebug() << __PRETTY_FUNCTION__ << __LINE__
I stumbled upon on the doc of WebView QML component for Qt 4.7 http://doc.qt.nokia.com/4.7-snapshot/qml-webview.html. It seems it has features to connect the JavaScript console to be printed directly to 'main console' as QML's console.log does. But, it doesnt! http://trac.webkit.org/changeset/81471
The connected console should be done by overriding QWebPage::javaScriptConsoleMessage of QWebPage, as what phantom.js does: https://github.com/ariya/phantomjs/blob/master/src/webpage.cpp
I stumbled upon on the doc of WebView element for Qt 4.7 http://doc.qt.nokia.com/4.7-snapshot/qml-webview.html. It seems it has features to connect the JavaScript console to be printed directly to 'main console' as QML's console.log does. But, it doesnt! http://trac.webkit.org/changeset/81471
The connected console should be done by overriding QWebPage::javaScriptConsoleMessage of QWebPage, as what phantom.js does: https://github.com/ariya/phantomjs/blob/master/src/webpage.cpp
Recently I have several tasks that should be done on secure way. I have no money on buying valid certificate. Here the Google’s AppEngine comes handy. To enable the site to be served as secure site what you have done is just enable it in app.yml file.
handlers: - url: /.* script: appname.app secure: always
The key in making great and growable systems is much more to design how its modules communicate rather than what their internal properties and behaviors should be.
OK, this is just simple steps that I always forget. Please not anymore!
qmake -spec macx-g++
mac {
CONFIG -= app_bundle
}
Recently, I stumbled upon coding in hard ways. C/C++ and Objective-C
Libraries I’m interested in:
As you notice 3 and 4 are bundled inside node.js distribution