diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt
index 206c540..dc87630 100644
--- a/gui/CMakeLists.txt
+++ b/gui/CMakeLists.txt
@@ -5,7 +5,12 @@ set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTORCC ON)
find_package(Qt5 REQUIRED COMPONENTS Core Widgets Gui Multimedia)
-add_executable(chiaki main.cpp)
+add_executable(chiaki
+ src/main.cpp
+ include/streamwindow.h
+ src/streamwindow.cpp)
+target_include_directories(chiaki PRIVATE include)
+
target_link_libraries(chiaki chiaki-lib)
target_link_libraries(chiaki Qt5::Core Qt5::Widgets Qt5::Gui Qt5::Multimedia)
\ No newline at end of file
diff --git a/gui/include/streamwindow.h b/gui/include/streamwindow.h
new file mode 100644
index 0000000..d5f22e6
--- /dev/null
+++ b/gui/include/streamwindow.h
@@ -0,0 +1,32 @@
+/*
+ * This file is part of Chiaki.
+ *
+ * Chiaki is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Chiaki is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Chiaki. If not, see .
+ */
+
+#ifndef CHIAKI_GUI_STREAMWINDOW_H
+#define CHIAKI_GUI_STREAMWINDOW_H
+
+#include
+
+class StreamWindow: public QMainWindow
+{
+ Q_OBJECT
+
+ public:
+ explicit StreamWindow(QWidget *parent = nullptr);
+ ~StreamWindow();
+};
+
+#endif // CHIAKI_GUI_STREAMWINDOW_H
diff --git a/gui/main.cpp b/gui/src/main.cpp
similarity index 95%
rename from gui/main.cpp
rename to gui/src/main.cpp
index 06583b5..d177d79 100644
--- a/gui/main.cpp
+++ b/gui/src/main.cpp
@@ -1,4 +1,6 @@
+#include
+
#include
#include
@@ -58,6 +60,13 @@ int main(int argc, char *argv[])
argc = 1;
QApplication app(argc, argv);
+ StreamWindow window;
+ window.resize(640, 360);
+ window.show();
+
+ return app.exec();
+
+
QAudioFormat audio_format;
audio_format.setSampleRate(48000);
audio_format.setChannelCount(2);
diff --git a/gui/src/streamwindow.cpp b/gui/src/streamwindow.cpp
new file mode 100644
index 0000000..1e8aa4a
--- /dev/null
+++ b/gui/src/streamwindow.cpp
@@ -0,0 +1,27 @@
+/*
+ * This file is part of Chiaki.
+ *
+ * Chiaki is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Chiaki is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Chiaki. If not, see .
+ */
+
+#include
+
+StreamWindow::StreamWindow(QWidget *parent)
+ : QMainWindow(parent)
+{
+}
+
+StreamWindow::~StreamWindow()
+{
+}
\ No newline at end of file