-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
So QT6 wants QFILE included like so:
diff --git a/gpucompute.cpp b/gpucompute.cpp
index 5170250..f7d2dab 100644
--- a/gpucompute.cpp
+++ b/gpucompute.cpp
@@ -1,5 +1,6 @@
#include "mainwindow.h"
#include "ui_mainwindow.h"
+#include <QFile>
#include <QProgressDialog>
#include <QMessageBox>
or I get:
gpucompute.cpp:49:9: error: variable has incomplete type 'QFile'
49 | QFile kf(":/mandelbrot.cl");
| ^
/usr/local/include/qt6/QtGui/qevent.h:33:7: note: forward declaration of 'QFile'
33 | class QFile;
Thanks!
Metadata
Metadata
Assignees
Labels
No labels