diff --git a/copy_file/qt.cpp b/copy_file/qt.cpp
index e068d057766b12b11a332afe7a12ed491f11b2ef..6c9fd80cc0558f926c7b88860ce9c112859c858f 100644
--- a/copy_file/qt.cpp
+++ b/copy_file/qt.cpp
@@ -1,5 +1,8 @@
 #include <assert.h>
 #include <QTextCodec>
+#include <QFile>
+#include <QString>
+
 
 int main(int argc, char** argv)
 {