Fix Python metrics in Trace Analyzer
This commit is contained in:
@@ -37,11 +37,14 @@
|
||||
* Derek Christ
|
||||
*/
|
||||
|
||||
#include "pythoncaller.h"
|
||||
#include <exception>
|
||||
#include <iostream>
|
||||
// Has to come first.
|
||||
#include <pybind11/pybind11.h>
|
||||
#include <pybind11/stl.h>
|
||||
|
||||
#include "pythoncaller.h"
|
||||
|
||||
#include <exception>
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
|
||||
std::string PythonCaller::generatePlots(std::string_view pathToTrace)
|
||||
|
||||
@@ -40,11 +40,6 @@
|
||||
#ifndef PYTHONCALLER_H
|
||||
#define PYTHONCALLER_H
|
||||
|
||||
// Workaround for CMAKE and Python
|
||||
#ifdef slots
|
||||
#undef slots
|
||||
#endif
|
||||
|
||||
#include "businessObjects/tracecalculatedmetrics.h"
|
||||
#include <string>
|
||||
|
||||
|
||||
@@ -36,6 +36,9 @@
|
||||
* Derek Christ
|
||||
*/
|
||||
|
||||
// Has to come first.
|
||||
#include <pybind11/embed.h>
|
||||
|
||||
#include "traceanalyzer.h"
|
||||
|
||||
#include <QApplication>
|
||||
@@ -46,7 +49,6 @@
|
||||
#include <csignal>
|
||||
#include <filesystem>
|
||||
#include <iostream>
|
||||
#include <pybind11/embed.h>
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user