blob: 4f23e38971760f6f5298f4d675b621de00695533 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#include <QApplication>
#include <QMainWindow>
#include <lua.hpp>
#include "MainWindow.hpp"
int main(int argc, char *argv[]) {
QApplication app(argc, argv);
MainWindow mainWindow;
mainWindow.setWindowTitle("web-browser");
mainWindow.show();
return app.exec();
}
// auto L = luaL_newstate();
//
// luaL_openlibs(L);
//
// auto status = luaL_dostring(L, "print(500 + 10 * 3)");
// if (status) {
// fprintf(stderr, "Couldn't load file: %s\n", lua_tostring(L, -1));
// exit(1);
// }
// lua_close(L);
// exit(0);
|