Skip to content

Commit

Permalink
QT5 support.
Browse files Browse the repository at this point in the history
  • Loading branch information
benjie committed Feb 27, 2013
1 parent aae78f7 commit 25cdd95
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Floim.pro
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
QT += webkit network
QT += webkitwidgets network widgets
HEADERS = mainwindow.h bgbridge.h
SOURCES = main.cpp mainwindow.cpp bgbridge.cpp
RESOURCES = images.qrc
Expand Down
1 change: 1 addition & 0 deletions main.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include <QtGui>
#include <QApplication>
#include "mainwindow.h"

int main(int argc, char * argv[]) {
Expand Down
4 changes: 4 additions & 0 deletions mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
#include <QtWebKit>
#include <QSslConfiguration>
#include <QSslSocket>
#include <QWebView>
#include <QWebFrame>
#include <QMessageBox>
#include <QApplication>
#include "mainwindow.h"

MainWindow::MainWindow(const QUrl& url, QApplication& _app) {
Expand Down
2 changes: 2 additions & 0 deletions mainwindow.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#include <QtGui>
#include <QMainWindow>
#include <QtWebKit>
#include <QSystemTrayIcon>
#include "bgbridge.h"

class QWebView;
Expand Down

0 comments on commit 25cdd95

Please sign in to comment.