qt5
Last change
on this file since 2fc2878 was
2fc2878,
checked in by pavelpa <pavelpa@…>, 13 years ago
|
schedule.en.xml is now in resource
- for testing only
- will be removed from final application
|
-
Property mode set to
100644
|
File size:
329 bytes
|
Line | |
---|
1 | #include <mainwindow.h> |
---|
2 | |
---|
3 | #include <QtGui/QApplication> |
---|
4 | |
---|
5 | int main(int argc, char *argv[]) |
---|
6 | { |
---|
7 | Q_INIT_RESOURCE(icons); |
---|
8 | Q_INIT_RESOURCE(maps); |
---|
9 | Q_INIT_RESOURCE(schedule); |
---|
10 | |
---|
11 | QApplication a(argc, argv); |
---|
12 | QApplication::setWindowIcon(QIcon(":/icons/fosdem.png")); |
---|
13 | |
---|
14 | MainWindow w; |
---|
15 | w.show(); |
---|
16 | return a.exec(); |
---|
17 | } |
---|
18 | |
---|
Note: See
TracBrowser
for help on using the repository browser.