Skip to content

Commit

Permalink
fmk - adding QtWebEngine::initialize() to main
Browse files Browse the repository at this point in the history
  • Loading branch information
fmckenna committed Oct 8, 2024
1 parent 0bb50e9 commit 8021cf5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#include <WorkflowCLI.h>
#include <GoogleAnalytics.h>
#include <TapisV3.h>
#include <QtWebEngine>



Expand Down Expand Up @@ -146,12 +147,15 @@ int main(int argc, char *argv[])

QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);

// software rendering
QCoreApplication::setAttribute(Qt::AA_UseSoftwareOpenGL);

//
// start Qt mainwindow per normal
//

QApplication app(argc, argv);

QtWebEngine::initialize();

//
// create a remote interface
Expand Down
3 changes: 2 additions & 1 deletion quoFEM.pro
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
#
#-------------------------------------------------

QT += core gui charts concurrent network printsupport 3dcore 3drender 3dextras webenginewidgets
QT += core gui charts concurrent network printsupport 3dcore 3drender 3dextras webenginewidgets webengine

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17
QMAKE_APPLE_DEVICE_ARCHS="x86_64"

TARGET = quoFEM
TEMPLATE = app
Expand Down

0 comments on commit 8021cf5

Please sign in to comment.