From 004019656196b2b12003d266076bcba4e8b7f87a Mon Sep 17 00:00:00 2001 From: Sander Speetjens Date: Sat, 3 Jan 2026 20:03:07 +0100 Subject: [PATCH] cmake update make examples, playground and tests buildable --- CMakeLists.txt | 7 + README.md | 2 +- classincludes/classincludes.pro | 204 ------- designer/designer.pro | 130 ----- doc/doc.pro | 22 - examples/CMakeLists.txt | 34 ++ examples/examples.pri | 70 --- examples/examples.pro | 54 -- playground/CMakeLists.txt | 33 ++ playground/playground.pri | 67 --- playground/playground.pro | 39 -- qwt.prf | 47 -- qwt.pro | 40 -- qwt.pro.user | 937 -------------------------------- qwtbuild.pri | 199 ------- qwtconfig.pri | 178 ------ qwtfunctions.pri | 94 ---- src/CMakeLists.txt | 17 +- src/src.pri | 369 ------------- src/src.pro | 114 ---- tests/CMakeLists.txt | 21 + tests/tests.pri | 71 --- tests/tests.pro | 16 - 23 files changed, 104 insertions(+), 2661 deletions(-) delete mode 100644 classincludes/classincludes.pro delete mode 100644 designer/designer.pro delete mode 100644 doc/doc.pro delete mode 100644 examples/examples.pri delete mode 100644 examples/examples.pro delete mode 100644 playground/playground.pri delete mode 100644 playground/playground.pro delete mode 100644 qwt.prf delete mode 100644 qwt.pro delete mode 100644 qwt.pro.user delete mode 100644 qwtbuild.pri delete mode 100644 qwtconfig.pri delete mode 100644 qwtfunctions.pri delete mode 100644 src/src.pri delete mode 100644 src/src.pro delete mode 100644 tests/tests.pri delete mode 100644 tests/tests.pro diff --git a/CMakeLists.txt b/CMakeLists.txt index 6d8258b..85c897c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,3 +1,10 @@ +cmake_minimum_required(VERSION 3.10) +project(qwt) + +option(QWT_BUILD_EXAMPLES "Build example executables" OFF) +option(QWT_BUILD_PLAYGROUND "Build playground executables" OFF) +option(QWT_BUILD_TESTS "Build example executables" OFF) + add_subdirectory(examples) add_subdirectory(playground) add_subdirectory(src) diff --git a/README.md b/README.md index 2d04565..d929598 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ and much more. Qwt is officialy hosted at http://qwt.sf.net, the cmake version at https://github.com/Sani7/qwt -# Installation +# Usage You can add qwt as a submodule to your git project and using: ```cmake add_subdirectory(${QWT_FOLDER_LOCATION}) diff --git a/classincludes/classincludes.pro b/classincludes/classincludes.pro deleted file mode 100644 index d7cf481..0000000 --- a/classincludes/classincludes.pro +++ /dev/null @@ -1,204 +0,0 @@ -################################################################ -# Qwt Widget Library -# Copyright (C) 1997 Josef Wilgen -# Copyright (C) 2002 Uwe Rathmann -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the Qwt License, Version 1.0 -################################################################ - -TEMPLATE = subdirs - -QWT_ROOT = $${PWD}/.. -include( $${QWT_ROOT}/qwtconfig.pri ) -include( $${QWT_ROOT}/qwtbuild.pri ) -include( $${QWT_ROOT}/qwtfunctions.pri ) - -CLASSHEADERS = \ - QwtAbstractScaleDraw \ - QwtAlphaColorMap \ - QwtAxis \ - QwtAxisId \ - QwtBezier \ - QwtClipper \ - QwtColorMap \ - QwtColumnRect \ - QwtColumnSymbol \ - QwtDate \ - QwtDateScaleDraw \ - QwtDateScaleEngine \ - QwtDynGridLayout \ - QwtGlobal \ - QwtGraphic \ - QwtHueColorMap \ - QwtInterval \ - QwtIntervalSymbol \ - QwtLinearColorMap \ - QwtLinearScaleEngine \ - QwtLogScaleEngine \ - QwtLogTransform \ - QwtMagnifier \ - QwtMath \ - QwtNullPaintDevice \ - QwtNullTransform \ - QwtPainter \ - QwtPainterCommand \ - QwtPanner \ - QwtPicker \ - QwtPickerClickPointMachine \ - QwtPickerClickRectMachine \ - QwtPickerDragLineMachine \ - QwtPickerDragPointMachine \ - QwtPickerDragRectMachine \ - QwtPickerMachine \ - QwtPickerPolygonMachine \ - QwtPickerTrackerMachine \ - QwtPixelMatrix \ - QwtPlainTextEngine \ - QwtPoint3D \ - QwtPointPolar \ - QwtPowerTransform \ - QwtRichTextEngine \ - QwtRoundScaleDraw \ - QwtSaturationValueColorMap \ - QwtScaleArithmetic \ - QwtScaleDiv \ - QwtScaleDraw \ - QwtScaleEngine \ - QwtScaleMap \ - QwtSimpleCompassRose \ - QwtSplineBasis \ - QwtSpline \ - QwtSplineC1 \ - QwtSplineC2 \ - QwtSplineCubic \ - QwtSplineG1 \ - QwtSplineInterpolating \ - QwtSplineLocal \ - QwtSplineParameter \ - QwtSplineParametrization \ - QwtSplinePleasing \ - QwtSplinePolynomial \ - QwtSymbol \ - QwtSystemClock \ - QwtText \ - QwtTextEngine \ - QwtTextLabel \ - QwtTransform \ - QwtWidgetOverlay - -contains(QWT_CONFIG, QwtPlot) { - - CLASSHEADERS += \ - QwtAbstractLegend \ - QwtCurveFitter \ - QwtEventPattern \ - QwtIntervalSample \ - QwtLegend \ - QwtLegendData \ - QwtLegendLabel \ - QwtPointMapper \ - QwtMatrixRasterData \ - QwtOHLCSample \ - QwtPlot \ - QwtPlotAbstractBarChart \ - QwtPlotAbstractCanvas \ - QwtPlotBarChart \ - QwtPlotCanvas \ - QwtPlotCurve \ - QwtPlotDict \ - QwtPlotDirectPainter \ - QwtPlotGraphicItem \ - QwtPlotGrid \ - QwtPlotHistogram \ - QwtPlotIntervalCurve \ - QwtPlotItem \ - QwtPlotLayout \ - QwtPlotLegendItem \ - QwtPlotMagnifier \ - QwtPlotMarker \ - QwtPlotMultiBarChart \ - QwtPlotPanner \ - QwtPlotPicker \ - QwtPlotRasterItem \ - QwtPlotRenderer \ - QwtPlotRescaler \ - QwtPlotScaleItem \ - QwtPlotSeriesItem \ - QwtPlotShapeItem \ - QwtPlotSpectroCurve \ - QwtPlotSpectrogram \ - QwtPlotTextLabel \ - QwtPlotTradingCurve \ - QwtPlotVectorField \ - QwtPlotZoneItem \ - QwtPlotZoomer \ - QwtScaleWidget \ - QwtRasterData \ - QwtSeriesData \ - QwtSetSample \ - QwtSamplingThread \ - QwtSplineCurveFitter \ - QwtWeedingCurveFitter \ - QwtIntervalSeriesData \ - QwtPoint3DSeriesData \ - QwtPointSeriesData \ - QwtSetSeriesData \ - QwtSyntheticPointData \ - QwtPointArrayData \ - QwtTradingChartData \ - QwtVectorFieldSymbol \ - QwtVectorFieldArrow \ - QwtVectorFieldThinArrow \ - QwtVectorFieldData \ - QwtVectorFieldSample \ - QwtCPointerData -} - -contains(QWT_CONFIG, QwtOpenGL) { - - CLASSHEADERS += \ - QwtPlotGLCanvas - - greaterThan(QT_MAJOR_VERSION, 4) { - - greaterThan(QT_MINOR_VERSION, 3) { - - CLASSHEADERS += \ - QwtPlotOpenGLCanvas - } - } -} - -contains(QWT_CONFIG, QwtWidgets) { - - CLASSHEADERS += \ - QwtAbstractSlider \ - QwtAbstractScale \ - QwtArrowButton \ - QwtAnalogClock \ - QwtCompass \ - QwtCompassMagnetNeedle \ - QwtCompassRose \ - QwtCompassScaleDraw \ - QwtCompassWindArrow \ - QwtCounter \ - QwtDial \ - QwtDialNeedle \ - QwtDialSimpleNeedle \ - QwtKnob \ - QwtSlider \ - QwtThermo \ - QwtWheel -} - -contains(QWT_CONFIG, QwtSvg) { - - CLASSHEADERS += \ - QwtPlotSvgItem -} - -target.path = $${QWT_INSTALL_HEADERS} -target.files = $${CLASSHEADERS} -INSTALLS = target - diff --git a/designer/designer.pro b/designer/designer.pro deleted file mode 100644 index 73e3ad1..0000000 --- a/designer/designer.pro +++ /dev/null @@ -1,130 +0,0 @@ -################################################################ -# Qwt Widget Library -# Copyright (C) 1997 Josef Wilgen -# Copyright (C) 2002 Uwe Rathmann -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the Qwt License, Version 1.0 -################################################################ - -QWT_ROOT = $${PWD}/.. -QWT_OUT_ROOT = $${OUT_PWD}/.. - -include ( $${QWT_ROOT}/qwtconfig.pri ) -include ( $${QWT_ROOT}/qwtbuild.pri ) -include ( $${QWT_ROOT}/qwtfunctions.pri ) - - -CONFIG( debug_and_release ) { - - # When building debug_and_release the designer plugin is built - # for release only. If you want to have a debug version it has to be - # done with "CONFIG += debug" only. - - message("debug_and_release: building the Qwt designer plugin in release mode only") - - CONFIG -= debug_and_release - CONFIG += release -} - -contains(QWT_CONFIG, QwtDesigner ) { - - greaterThan(QT_MAJOR_VERSION, 4) { - - !qtHaveModule(designer) QWT_CONFIG -= QwtDesigner - } else { - - !exists( $(QTDIR)/include/QtDesigner ) QWT_CONFIG -= QwtDesigner - } - - !contains(QWT_CONFIG, QwtDesigner ) { - warning("QwtDesigner is enabled in qwtconfig.pri, but Qt has not been built with designer support") - } -} - -contains(QWT_CONFIG, QwtDesigner) { - - CONFIG += qt plugin - - greaterThan(QT_MAJOR_VERSION, 4) { - - QT += designer - } - else { - - CONFIG += designer - } - - - TEMPLATE = lib - TARGET = qwt_designer_plugin - - DESTDIR = plugins/designer - - INCLUDEPATH += $${QWT_ROOT}/src - DEPENDPATH += $${QWT_ROOT}/src - - contains(QWT_CONFIG, QwtDll) { - - contains(QWT_CONFIG, QwtDesignerSelfContained) { - QWT_CONFIG += include_src - } - - } else { - - # for linking against a static library the - # plugin will be self contained anyway - } - - contains(QWT_CONFIG, include_src) { - - # compile all qwt classes into the plugin - - include ( $${QWT_ROOT}/src/src.pri ) - - for( header, HEADERS) { - QWT_HEADERS += $${QWT_ROOT}/src/$${header} - } - - for( source, SOURCES ) { - QWT_SOURCES += $${QWT_ROOT}/src/$${source} - } - - HEADERS = $${QWT_HEADERS} - SOURCES = $${QWT_SOURCES} - - } else { - - # compile the path for finding the Qwt library - # into the plugin. Not supported on Windows ! - - QMAKE_RPATHDIR *= $${QWT_INSTALL_LIBS} - qwtAddLibrary($${QWT_OUT_ROOT}/lib, qwt) - - contains(QWT_CONFIG, QwtDll) { - - DEFINES += QT_DLL QWT_DLL - } - } - - !contains(QWT_CONFIG, QwtPlot) { - DEFINES += NO_QWT_PLOT - } - - !contains(QWT_CONFIG, QwtPolar) { - DEFINES += NO_QWT_POLAR - } - - !contains(QWT_CONFIG, QwtWidgets) { - DEFINES += NO_QWT_WIDGETS - } - - SOURCES += qwt_designer_plugin.cpp - RESOURCES += qwt_designer_plugin.qrc - - target.path = $${QWT_INSTALL_PLUGINS} - INSTALLS += target -} -else { - TEMPLATE = subdirs # do nothing -} diff --git a/doc/doc.pro b/doc/doc.pro deleted file mode 100644 index 538d86d..0000000 --- a/doc/doc.pro +++ /dev/null @@ -1,22 +0,0 @@ -################################################################ -# Qwt Widget Library -# Copyright (C) 1997 Josef Wilgen -# Copyright (C) 2002 Uwe Rathmann -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the Qwt License, Version 1.0 -################################################################ - -# qmake project file for installing the documentation - -QWT_ROOT = $${PWD}/.. -include( $${QWT_ROOT}/qwtconfig.pri ) - -TEMPLATE = subdirs - -doc.files = $${QWT_ROOT}/doc/html -unix:doc.files += $${QWT_ROOT}/doc/man -doc.path = $${QWT_INSTALL_DOCS} - -INSTALLS = doc - diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index e69de29..e006ba1 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -0,0 +1,34 @@ +find_package(Qt6 REQUIRED COMPONENTS Widgets) +file(GLOB SUBDIRS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "${CMAKE_CURRENT_SOURCE_DIR}/*") + +foreach(SUBDIR ${SUBDIRS}) + if(IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${SUBDIR}) + file(GLOB SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/${SUBDIR}/*.cpp" "${CMAKE_CURRENT_SOURCE_DIR}/${SUBDIR}/*.h") + + if(SOURCES) + add_executable(${SUBDIR} ${SOURCES}) + + target_include_directories(${SUBDIR} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/${SUBDIR} ${PROJECT_BINARY_DIR}/) + + target_compile_definitions(${SUBDIR} + PRIVATE + "QWT_MOC_INCLUDE" + ) + + set_target_properties( + ${SUBDIR} + PROPERTIES + AUTOMOC ON + ) + + target_link_libraries(${SUBDIR} qwt Qt${QT_VERSION_MAJOR}::Widgets) + + if(NOT QWT_BUILD_EXAMPLES) + set_target_properties(${SUBDIR} PROPERTIES + EXCLUDE_FROM_ALL TRUE + EXCLUDE_FROM_DEFAULT_BUILD TRUE # mainly for Visual Studio + ) + endif() + endif() + endif() +endforeach() diff --git a/examples/examples.pri b/examples/examples.pri deleted file mode 100644 index 670de3a..0000000 --- a/examples/examples.pri +++ /dev/null @@ -1,70 +0,0 @@ -###################################################################### -# Qwt Examples - Copyright (C) 2002 Uwe Rathmann -# This file may be used under the terms of the 3-clause BSD License -###################################################################### - -QWT_ROOT = $${PWD}/.. -include( $${QWT_ROOT}/qwtconfig.pri ) -include( $${QWT_ROOT}/qwtbuild.pri ) -include( $${QWT_ROOT}/qwtfunctions.pri ) - -QWT_OUT_ROOT = $${OUT_PWD}/../.. - -TEMPLATE = app - -INCLUDEPATH += $${QWT_ROOT}/src -DEPENDPATH += $${QWT_ROOT}/src - -INCLUDEPATH += $${QWT_ROOT}/classincludes -DEPENDPATH += $${QWT_ROOT}/classincludes - -!debug_and_release { - - DESTDIR = $${QWT_OUT_ROOT}/examples/bin -} -else { - CONFIG(debug, debug|release) { - - DESTDIR = $${QWT_OUT_ROOT}/examples/bin_debug - } - else { - - DESTDIR = $${QWT_OUT_ROOT}/examples/bin - } -} - -QMAKE_RPATHDIR *= $${QWT_OUT_ROOT}/lib -qwtAddLibrary($${QWT_OUT_ROOT}/lib, qwt) - -greaterThan(QT_MAJOR_VERSION, 4) { - - QT += printsupport - QT += concurrent -} - -contains(QWT_CONFIG, QwtOpenGL ) { - - QT += opengl - - greaterThan(QT_MAJOR_VERSION, 5) { - QT += openglwidgets - } -} -else { - - DEFINES += QWT_NO_OPENGL -} - -contains(QWT_CONFIG, QwtSvg) { - - QT += svg -} -else { - - DEFINES += QWT_NO_SVG -} - - -contains(QWT_CONFIG, QwtDll) { - DEFINES += QT_DLL QWT_DLL -} diff --git a/examples/examples.pro b/examples/examples.pro deleted file mode 100644 index 9df59b4..0000000 --- a/examples/examples.pro +++ /dev/null @@ -1,54 +0,0 @@ -###################################################################### -# Qwt Examples - Copyright (C) 2002 Uwe Rathmann -# This file may be used under the terms of the 3-clause BSD License -###################################################################### - -include( $${PWD}/../qwtconfig.pri ) - -TEMPLATE = subdirs - -contains(QWT_CONFIG, QwtPlot) { - - SUBDIRS += \ - animation \ - barchart \ - cpuplot \ - curvedemo \ - distrowatch \ - friedberg \ - itemeditor \ - legends \ - stockchart \ - simpleplot \ - sinusplot \ - realtime \ - refreshtest \ - scatterplot \ - spectrogram \ - rasterview \ - tvplot - - contains(QWT_CONFIG, QwtWidgets) { - - SUBDIRS += \ - bode \ - splineeditor \ - oscilloscope - } - - contains(QWT_CONFIG, QwtPolar) { - - SUBDIRS += \ - polardemo \ - polarspectrogram \ - } -} - -contains(QWT_CONFIG, QwtWidgets) { - - SUBDIRS += \ - sysinfo \ - radio \ - dials \ - controls -} diff --git a/playground/CMakeLists.txt b/playground/CMakeLists.txt index e69de29..d7ee30e 100644 --- a/playground/CMakeLists.txt +++ b/playground/CMakeLists.txt @@ -0,0 +1,33 @@ +file(GLOB SUBDIRS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "${CMAKE_CURRENT_SOURCE_DIR}/*") + +foreach(SUBDIR ${SUBDIRS}) + if(IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${SUBDIR}) + file(GLOB SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/${SUBDIR}/*.cpp" "${CMAKE_CURRENT_SOURCE_DIR}/${SUBDIR}/*.h") + + if(SOURCES) + add_executable(${SUBDIR} ${SOURCES}) + + target_include_directories(${SUBDIR} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/${SUBDIR} ${PROJECT_BINARY_DIR}/) + + target_compile_definitions(${SUBDIR} + PRIVATE + "QWT_MOC_INCLUDE" + ) + + set_target_properties( + ${SUBDIR} + PROPERTIES + AUTOMOC ON + ) + + target_link_libraries(${SUBDIR} qwt) + + if(NOT QWT_BUILD_PLAYGROUND) + set_target_properties(${SUBDIR} PROPERTIES + EXCLUDE_FROM_ALL TRUE + EXCLUDE_FROM_DEFAULT_BUILD TRUE # mainly for Visual Studio + ) + endif() + endif() + endif() +endforeach() diff --git a/playground/playground.pri b/playground/playground.pri deleted file mode 100644 index 57ffb4a..0000000 --- a/playground/playground.pri +++ /dev/null @@ -1,67 +0,0 @@ -###################################################################### -# Qwt Examples - Copyright (C) 2002 Uwe Rathmann -# This file may be used under the terms of the 3-clause BSD License -###################################################################### - -QWT_ROOT = $${PWD}/.. -include( $${QWT_ROOT}/qwtconfig.pri ) -include( $${QWT_ROOT}/qwtbuild.pri ) -include( $${QWT_ROOT}/qwtfunctions.pri ) - -QWT_OUT_ROOT = $${OUT_PWD}/../.. - -TEMPLATE = app - -INCLUDEPATH += $${QWT_ROOT}/src -DEPENDPATH += $${QWT_ROOT}/src - -INCLUDEPATH += $${QWT_ROOT}/classincludes -DEPENDPATH += $${QWT_ROOT}/classincludes - -!debug_and_release { - - DESTDIR = $${QWT_OUT_ROOT}/playground/bin -} -else { - CONFIG(debug, debug|release) { - - DESTDIR = $${QWT_OUT_ROOT}/playground/bin_debug - } - else { - - DESTDIR = $${QWT_OUT_ROOT}/playground/bin - } -} - - -QMAKE_RPATHDIR *= $${QWT_ROOT}/lib -qwtAddLibrary($${QWT_OUT_ROOT}/lib, qwt) - -greaterThan(QT_MAJOR_VERSION, 4) { - - QT += printsupport - QT += concurrent -} - -contains(QWT_CONFIG, QwtOpenGL ) { - - QT += opengl -} -else { - - DEFINES += QWT_NO_OPENGL -} - -contains(QWT_CONFIG, QwtSvg) { - - QT += svg -} -else { - - DEFINES += QWT_NO_SVG -} - - -contains(QWT_CONFIG, QwtDll) { - DEFINES += QT_DLL QWT_DLL -} diff --git a/playground/playground.pro b/playground/playground.pro deleted file mode 100644 index 9d57e86..0000000 --- a/playground/playground.pro +++ /dev/null @@ -1,39 +0,0 @@ -###################################################################### -# Qwt Examples - Copyright (C) 2002 Uwe Rathmann -# This file may be used under the terms of the 3-clause BSD License -###################################################################### - -include( $${PWD}/../qwtconfig.pri ) - -TEMPLATE = subdirs - -contains(QWT_CONFIG, QwtPlot) { - - SUBDIRS += \ - plotmatrix \ - timescale \ - scaleengine \ - rescaler \ - shapes \ - curvetracker \ - vectorfield \ - symbols - - greaterThan(QT_MAJOR_VERSION, 4) { - qtHaveModule(svg) { - # we only need SVG support from Qt, but not from Qwt - CONFIG += svgexamples - } - } - else { - contains(QWT_CONFIG, QwtSvg) { - CONFIG += svgexamples - } - } - - svgexamples { - SUBDIRS += \ - svgmap \ - graphicscale - } -} diff --git a/qwt.prf b/qwt.prf deleted file mode 100644 index 879ba42..0000000 --- a/qwt.prf +++ /dev/null @@ -1,47 +0,0 @@ -################################################################ -# Qwt Widget Library -# Copyright (C) 1997 Josef Wilgen -# Copyright (C) 2002 Uwe Rathmann -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the Qwt License, Version 1.0 -################################################################ - -include ( ./qwtconfig.pri ) -include ( ./qwtfunctions.pri ) - -contains(QWT_CONFIG, QwtDll) { - - DEFINES *= QWT_DLL -} - -contains(QWT_CONFIG, QwtSvg) { - - QT *= svg -} -else { - - DEFINES *= QWT_NO_SVG -} - -contains(QWT_CONFIG, QwtOpenGL) { - - QT *= opengl -} -else { - - DEFINES *= QWT_NO_OPENGL -} - - -contains(QWT_CONFIG, QwtFramework) { - - INCLUDEPATH *= $${QWT_INSTALL_LIBS}/qwt.framework/Headers -} -else { - - INCLUDEPATH *= $${QWT_INSTALL_HEADERS} -} - -# QMAKE_RPATHDIR *= $${QWT_INSTALL_LIBS} -qwtAddLibrary($${QWT_INSTALL_LIBS}, qwt) diff --git a/qwt.pro b/qwt.pro deleted file mode 100644 index 6464b1a..0000000 --- a/qwt.pro +++ /dev/null @@ -1,40 +0,0 @@ -################################################################ -# Qwt Widget Library -# Copyright (C) 1997 Josef Wilgen -# Copyright (C) 2002 Uwe Rathmann -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the Qwt License, Version 1.0 -################################################################ - -include( qwtconfig.pri ) - -TEMPLATE = subdirs -CONFIG += ordered - -SUBDIRS = \ - src \ - classincludes \ - doc - -contains(QWT_CONFIG, QwtDesigner ) { - SUBDIRS += designer -} - -contains(QWT_CONFIG, QwtExamples ) { - SUBDIRS += examples -} - -contains(QWT_CONFIG, QwtPlayground ) { - SUBDIRS += playground -} - -contains(QWT_CONFIG, QwtTests ) { - SUBDIRS += tests -} - -qwtspec.files = qwtconfig.pri qwtfunctions.pri qwt.prf -qwtspec.path = $${QWT_INSTALL_FEATURES} - -INSTALLS += qwtspec - diff --git a/qwt.pro.user b/qwt.pro.user deleted file mode 100644 index 1903c9a..0000000 --- a/qwt.pro.user +++ /dev/null @@ -1,937 +0,0 @@ - - - - - - EnvironmentId - {48575134-1fc3-4253-940c-17c134c3fd80} - - - ProjectExplorer.Project.ActiveTarget - 0 - - - ProjectExplorer.Project.EditorSettings - - true - false - true - - Cpp - - CppGlobal - - - - QmlJS - - QmlJSGlobal - - - 2 - UTF-8 - false - 4 - false - 80 - true - true - 1 - 0 - false - true - false - 0 - true - true - 0 - 8 - true - false - 1 - true - true - true - *.md, *.MD, Makefile - false - true - true - - - - ProjectExplorer.Project.PluginSettings - - - true - false - true - true - true - true - - - 0 - true - - true - true - Builtin.DefaultTidyAndClazy - 4 - true - - - - true - - - false - true - - - - - ProjectExplorer.Project.Target.0 - - Desktop - Replacement for "Desktop Qt 6.4.3 GCC 64bit" - Replacement for "Desktop Qt 6.4.3 GCC 64bit" - qt.qt6.643.gcc_64_kit - 0 - 0 - 0 - - 0 - /home/sanderspeetjens/Qt/qwt-6.2.0/build-Desktop_Qt_6_4_3_GCC_64bit-Debug - /home/sanderspeetjens/Qt/qwt-6.2.0/build-Desktop_Qt_6_4_3_GCC_64bit-Debug - - - true - QtProjectManager.QMakeBuildStep - false - - - - true - Qt4ProjectManager.MakeStep - - 2 - Build - Build - ProjectExplorer.BuildSteps.Build - - - - true - Qt4ProjectManager.MakeStep - clean - - 1 - Clean - Clean - ProjectExplorer.BuildSteps.Clean - - 2 - false - - false - - Debug - Qt4ProjectManager.Qt4BuildConfiguration - 2 - - - /home/sanderspeetjens/Qt/qwt-6.2.0/build-Desktop_Qt_6_4_3_GCC_64bit-Release - /home/sanderspeetjens/Qt/qwt-6.2.0/build-Desktop_Qt_6_4_3_GCC_64bit-Release - - - true - QtProjectManager.QMakeBuildStep - false - - - - true - Qt4ProjectManager.MakeStep - - 2 - Build - Build - ProjectExplorer.BuildSteps.Build - - - - true - Qt4ProjectManager.MakeStep - clean - - 1 - Clean - Clean - ProjectExplorer.BuildSteps.Clean - - 2 - false - - false - - Release - Qt4ProjectManager.Qt4BuildConfiguration - 0 - 0 - - - 0 - /home/sanderspeetjens/Qt/qwt-6.2.0/build-Desktop_Qt_6_4_3_GCC_64bit-Profile - /home/sanderspeetjens/Qt/qwt-6.2.0/build-Desktop_Qt_6_4_3_GCC_64bit-Profile - - - true - QtProjectManager.QMakeBuildStep - false - - - - true - Qt4ProjectManager.MakeStep - - 2 - Build - Build - ProjectExplorer.BuildSteps.Build - - - - true - Qt4ProjectManager.MakeStep - clean - - 1 - Clean - Clean - ProjectExplorer.BuildSteps.Clean - - 2 - false - - false - - Profile - Qt4ProjectManager.Qt4BuildConfiguration - 0 - 0 - 0 - - 3 - - - 0 - Deploy - Deploy - ProjectExplorer.BuildSteps.Deploy - - 1 - - false - ProjectExplorer.DefaultDeployConfiguration - - 1 - - true - true - 0 - true - - 2 - - false - animation2 - Qt4ProjectManager.Qt4RunConfiguration:/home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/animation/animation.pro - /home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/animation/animation.pro - true - true - true - true - /home/sanderspeetjens/Qt/qwt-6.2.0/build-Desktop_Qt_6_4_3_GCC_64bit-Debug/examples/animation/../../examples/bin - - - true - true - 0 - true - - 2 - - false - barchart2 - Qt4ProjectManager.Qt4RunConfiguration:/home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/barchart/barchart.pro - /home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/barchart/barchart.pro - true - true - true - true - /home/sanderspeetjens/Qt/qwt-6.2.0/build-Desktop_Qt_6_4_3_GCC_64bit-Debug/examples/barchart/../../examples/bin - - - true - true - 0 - true - - 2 - - false - legends2 - Qt4ProjectManager.Qt4RunConfiguration:/home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/legends/legends.pro - /home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/legends/legends.pro - true - true - true - true - /home/sanderspeetjens/Qt/qwt-6.2.0/build-Desktop_Qt_6_4_3_GCC_64bit-Debug/examples/legends/../../examples/bin - - - true - true - 0 - true - - 2 - - false - oscilloscope2 - Qt4ProjectManager.Qt4RunConfiguration:/home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/oscilloscope/oscilloscope.pro - /home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/oscilloscope/oscilloscope.pro - true - true - true - true - /home/sanderspeetjens/Qt/qwt-6.2.0/build-Desktop_Qt_6_4_3_GCC_64bit-Debug/examples/oscilloscope/../../examples/bin - - - true - true - 0 - true - - 2 - - false - polardemo2 - Qt4ProjectManager.Qt4RunConfiguration:/home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/polardemo/polardemo.pro - /home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/polardemo/polardemo.pro - true - true - true - true - /home/sanderspeetjens/Qt/qwt-6.2.0/build-Desktop_Qt_6_4_3_GCC_64bit-Debug/examples/polardemo/../../examples/bin - - - true - true - 0 - true - - 2 - - false - polarspectrogram2 - Qt4ProjectManager.Qt4RunConfiguration:/home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/polarspectrogram/polarspectrogram.pro - /home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/polarspectrogram/polarspectrogram.pro - true - true - true - true - /home/sanderspeetjens/Qt/qwt-6.2.0/build-Desktop_Qt_6_4_3_GCC_64bit-Debug/examples/polarspectrogram/../../examples/bin - - - true - true - 0 - true - - 2 - - false - radio2 - Qt4ProjectManager.Qt4RunConfiguration:/home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/radio/radio.pro - /home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/radio/radio.pro - true - true - true - true - /home/sanderspeetjens/Qt/qwt-6.2.0/build-Desktop_Qt_6_4_3_GCC_64bit-Debug/examples/radio/../../examples/bin - - - true - true - 0 - true - - 2 - - false - rasterview2 - Qt4ProjectManager.Qt4RunConfiguration:/home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/rasterview/rasterview.pro - /home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/rasterview/rasterview.pro - true - true - true - true - /home/sanderspeetjens/Qt/qwt-6.2.0/build-Desktop_Qt_6_4_3_GCC_64bit-Debug/examples/rasterview/../../examples/bin - - - true - true - 0 - true - - 2 - - false - realtime2 - Qt4ProjectManager.Qt4RunConfiguration:/home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/realtime/realtime.pro - /home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/realtime/realtime.pro - true - true - true - true - /home/sanderspeetjens/Qt/qwt-6.2.0/build-Desktop_Qt_6_4_3_GCC_64bit-Debug/examples/realtime/../../examples/bin - - - true - true - 0 - true - - 2 - - false - refreshtest2 - Qt4ProjectManager.Qt4RunConfiguration:/home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/refreshtest/refreshtest.pro - /home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/refreshtest/refreshtest.pro - true - true - true - true - /home/sanderspeetjens/Qt/qwt-6.2.0/build-Desktop_Qt_6_4_3_GCC_64bit-Debug/examples/refreshtest/../../examples/bin - - - true - true - 0 - true - - 2 - - false - scatterplot2 - Qt4ProjectManager.Qt4RunConfiguration:/home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/scatterplot/scatterplot.pro - /home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/scatterplot/scatterplot.pro - true - true - true - true - /home/sanderspeetjens/Qt/qwt-6.2.0/build-Desktop_Qt_6_4_3_GCC_64bit-Debug/examples/scatterplot/../../examples/bin - - - true - true - 0 - true - - 2 - - false - simpleplot2 - Qt4ProjectManager.Qt4RunConfiguration:/home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/simpleplot/simpleplot.pro - /home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/simpleplot/simpleplot.pro - true - true - true - true - /home/sanderspeetjens/Qt/qwt-6.2.0/build-Desktop_Qt_6_4_3_GCC_64bit-Debug/examples/simpleplot/../../examples/bin - - - true - true - 0 - true - - 2 - - false - bode2 - Qt4ProjectManager.Qt4RunConfiguration:/home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/bode/bode.pro - /home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/bode/bode.pro - true - true - true - true - /home/sanderspeetjens/Qt/qwt-6.2.0/build-Desktop_Qt_6_4_3_GCC_64bit-Debug/examples/bode/../../examples/bin - - - true - true - 0 - true - - 2 - - false - sinusplot2 - Qt4ProjectManager.Qt4RunConfiguration:/home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/sinusplot/sinusplot.pro - /home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/sinusplot/sinusplot.pro - true - true - true - true - /home/sanderspeetjens/Qt/qwt-6.2.0/build-Desktop_Qt_6_4_3_GCC_64bit-Debug/examples/sinusplot/../../examples/bin - - - true - true - 0 - true - - 2 - - false - spectrogram2 - Qt4ProjectManager.Qt4RunConfiguration:/home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/spectrogram/spectrogram.pro - /home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/spectrogram/spectrogram.pro - true - true - true - true - /home/sanderspeetjens/Qt/qwt-6.2.0/build-Desktop_Qt_6_4_3_GCC_64bit-Debug/examples/spectrogram/../../examples/bin - - - true - true - 0 - true - - 2 - - false - splineeditor2 - Qt4ProjectManager.Qt4RunConfiguration:/home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/splineeditor/splineeditor.pro - /home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/splineeditor/splineeditor.pro - true - true - true - true - /home/sanderspeetjens/Qt/qwt-6.2.0/build-Desktop_Qt_6_4_3_GCC_64bit-Debug/examples/splineeditor/../../examples/bin - - - true - true - 0 - true - - 2 - - false - stockchart2 - Qt4ProjectManager.Qt4RunConfiguration:/home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/stockchart/stockchart.pro - /home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/stockchart/stockchart.pro - true - true - true - true - /home/sanderspeetjens/Qt/qwt-6.2.0/build-Desktop_Qt_6_4_3_GCC_64bit-Debug/examples/stockchart/../../examples/bin - - - true - true - 0 - true - - 2 - - false - sysinfo2 - Qt4ProjectManager.Qt4RunConfiguration:/home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/sysinfo/sysinfo.pro - /home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/sysinfo/sysinfo.pro - true - true - true - true - /home/sanderspeetjens/Qt/qwt-6.2.0/build-Desktop_Qt_6_4_3_GCC_64bit-Debug/examples/sysinfo/../../examples/bin - - - true - true - 0 - true - - 2 - - false - tvplot2 - Qt4ProjectManager.Qt4RunConfiguration:/home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/tvplot/tvplot.pro - /home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/tvplot/tvplot.pro - true - true - true - true - /home/sanderspeetjens/Qt/qwt-6.2.0/build-Desktop_Qt_6_4_3_GCC_64bit-Debug/examples/tvplot/../../examples/bin - - - true - true - 0 - true - - 2 - - false - curvetracker2 - Qt4ProjectManager.Qt4RunConfiguration:/home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/playground/curvetracker/curvetracker.pro - /home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/playground/curvetracker/curvetracker.pro - true - true - true - true - /home/sanderspeetjens/Qt/qwt-6.2.0/build-Desktop_Qt_6_4_3_GCC_64bit-Debug/playground/curvetracker/../../playground/bin - - - true - true - 0 - true - - 2 - - false - graphicscale2 - Qt4ProjectManager.Qt4RunConfiguration:/home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/playground/graphicscale/graphicscale.pro - /home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/playground/graphicscale/graphicscale.pro - true - true - true - true - /home/sanderspeetjens/Qt/qwt-6.2.0/build-Desktop_Qt_6_4_3_GCC_64bit-Debug/playground/graphicscale/../../playground/bin - - - true - true - 0 - true - - 2 - - false - plotmatrix2 - Qt4ProjectManager.Qt4RunConfiguration:/home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/playground/plotmatrix/plotmatrix.pro - /home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/playground/plotmatrix/plotmatrix.pro - true - true - true - true - /home/sanderspeetjens/Qt/qwt-6.2.0/build-Desktop_Qt_6_4_3_GCC_64bit-Debug/playground/plotmatrix/../../playground/bin - - - true - true - 0 - true - - 2 - - false - rescaler2 - Qt4ProjectManager.Qt4RunConfiguration:/home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/playground/rescaler/rescaler.pro - /home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/playground/rescaler/rescaler.pro - true - true - true - true - /home/sanderspeetjens/Qt/qwt-6.2.0/build-Desktop_Qt_6_4_3_GCC_64bit-Debug/playground/rescaler/../../playground/bin - - - true - true - 0 - true - - 2 - - false - controls2 - Qt4ProjectManager.Qt4RunConfiguration:/home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/controls/controls.pro - /home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/controls/controls.pro - true - true - true - true - /home/sanderspeetjens/Qt/qwt-6.2.0/build-Desktop_Qt_6_4_3_GCC_64bit-Debug/examples/controls/../../examples/bin - - - true - true - 0 - true - - 2 - - false - scaleengine2 - Qt4ProjectManager.Qt4RunConfiguration:/home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/playground/scaleengine/scaleengine.pro - /home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/playground/scaleengine/scaleengine.pro - true - true - true - true - /home/sanderspeetjens/Qt/qwt-6.2.0/build-Desktop_Qt_6_4_3_GCC_64bit-Debug/playground/scaleengine/../../playground/bin - - - true - true - 0 - true - - 2 - - false - shapes2 - Qt4ProjectManager.Qt4RunConfiguration:/home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/playground/shapes/shapes.pro - /home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/playground/shapes/shapes.pro - true - true - true - true - /home/sanderspeetjens/Qt/qwt-6.2.0/build-Desktop_Qt_6_4_3_GCC_64bit-Debug/playground/shapes/../../playground/bin - - - true - true - 0 - true - - 2 - - false - svgmap2 - Qt4ProjectManager.Qt4RunConfiguration:/home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/playground/svgmap/svgmap.pro - /home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/playground/svgmap/svgmap.pro - true - true - true - true - /home/sanderspeetjens/Qt/qwt-6.2.0/build-Desktop_Qt_6_4_3_GCC_64bit-Debug/playground/svgmap/../../playground/bin - - - true - true - 0 - true - - 2 - - false - symbols2 - Qt4ProjectManager.Qt4RunConfiguration:/home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/playground/symbols/symbols.pro - /home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/playground/symbols/symbols.pro - true - true - true - true - /home/sanderspeetjens/Qt/qwt-6.2.0/build-Desktop_Qt_6_4_3_GCC_64bit-Debug/playground/symbols/../../playground/bin - - - true - true - 0 - true - - 2 - - false - timescale2 - Qt4ProjectManager.Qt4RunConfiguration:/home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/playground/timescale/timescale.pro - /home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/playground/timescale/timescale.pro - true - true - true - true - /home/sanderspeetjens/Qt/qwt-6.2.0/build-Desktop_Qt_6_4_3_GCC_64bit-Debug/playground/timescale/../../playground/bin - - - true - true - 0 - true - - 2 - - false - vectorfield2 - Qt4ProjectManager.Qt4RunConfiguration:/home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/playground/vectorfield/vectorfield.pro - /home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/playground/vectorfield/vectorfield.pro - true - true - true - true - /home/sanderspeetjens/Qt/qwt-6.2.0/build-Desktop_Qt_6_4_3_GCC_64bit-Debug/playground/vectorfield/../../playground/bin - - - true - true - 0 - true - - 2 - - false - splineprof2 - Qt4ProjectManager.Qt4RunConfiguration:/home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/tests/splineprof/splineprof.pro - /home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/tests/splineprof/splineprof.pro - true - true - true - true - /home/sanderspeetjens/Qt/qwt-6.2.0/build-Desktop_Qt_6_4_3_GCC_64bit-Debug/tests/splineprof/../../tests/bin - - - true - true - 0 - true - - 2 - - false - splinetest2 - Qt4ProjectManager.Qt4RunConfiguration:/home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/tests/splinetest/splinetest.pro - /home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/tests/splinetest/splinetest.pro - true - true - true - true - /home/sanderspeetjens/Qt/qwt-6.2.0/build-Desktop_Qt_6_4_3_GCC_64bit-Debug/tests/splinetest/../../tests/bin - - - true - true - 0 - true - - 2 - - false - cpuplot2 - Qt4ProjectManager.Qt4RunConfiguration:/home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/cpuplot/cpuplot.pro - /home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/cpuplot/cpuplot.pro - true - true - true - true - /home/sanderspeetjens/Qt/qwt-6.2.0/build-Desktop_Qt_6_4_3_GCC_64bit-Debug/examples/cpuplot/../../examples/bin - - - true - true - 0 - true - - 2 - - false - curvedemo2 - Qt4ProjectManager.Qt4RunConfiguration:/home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/curvedemo/curvedemo.pro - /home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/curvedemo/curvedemo.pro - true - true - true - true - /home/sanderspeetjens/Qt/qwt-6.2.0/build-Desktop_Qt_6_4_3_GCC_64bit-Debug/examples/curvedemo/../../examples/bin - - - true - true - 0 - true - - 2 - - false - dials2 - Qt4ProjectManager.Qt4RunConfiguration:/home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/dials/dials.pro - /home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/dials/dials.pro - true - true - true - true - /home/sanderspeetjens/Qt/qwt-6.2.0/build-Desktop_Qt_6_4_3_GCC_64bit-Debug/examples/dials/../../examples/bin - - - true - true - 0 - true - - 2 - - false - distrowatch2 - Qt4ProjectManager.Qt4RunConfiguration:/home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/distrowatch/distrowatch.pro - /home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/distrowatch/distrowatch.pro - true - true - true - true - /home/sanderspeetjens/Qt/qwt-6.2.0/build-Desktop_Qt_6_4_3_GCC_64bit-Debug/examples/distrowatch/../../examples/bin - - - true - true - 0 - true - - 2 - - false - friedberg2 - Qt4ProjectManager.Qt4RunConfiguration:/home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/friedberg/friedberg.pro - /home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/friedberg/friedberg.pro - true - true - true - true - /home/sanderspeetjens/Qt/qwt-6.2.0/build-Desktop_Qt_6_4_3_GCC_64bit-Debug/examples/friedberg/../../examples/bin - - - true - true - 0 - true - - 2 - - false - itemeditor2 - Qt4ProjectManager.Qt4RunConfiguration:/home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/itemeditor/itemeditor.pro - /home/sanderspeetjens/Documents/ThomasMore/Phase3/BachelorProef/Simulator-CVS_I10/Qt/qwt/examples/itemeditor/itemeditor.pro - true - true - true - true - /home/sanderspeetjens/Qt/qwt-6.2.0/build-Desktop_Qt_6_4_3_GCC_64bit-Debug/examples/itemeditor/../../examples/bin - - 38 - - - - ProjectExplorer.Project.TargetCount - 1 - - - ProjectExplorer.Project.Updater.FileVersion - 22 - - - Version - 22 - - diff --git a/qwtbuild.pri b/qwtbuild.pri deleted file mode 100644 index c036d0c..0000000 --- a/qwtbuild.pri +++ /dev/null @@ -1,199 +0,0 @@ -################################################################ -# Qwt Widget Library -# Copyright (C) 1997 Josef Wilgen -# Copyright (C) 2002 Uwe Rathmann -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the Qwt License, Version 1.0 -################################################################ - -###################################################################### -# qmake internal options -###################################################################### - -CONFIG += qt -CONFIG += warn_on -CONFIG += no_keywords -CONFIG += silent -CONFIG -= depend_includepath - -# CONFIG += sanitize -# CONFIG += pedantic - -# older Qt headers result in tons of warnings with modern compilers and flags -unix:lessThan(QT_MAJOR_VERSION, 5) CONFIG += qtsystemincludes - -# CONFIG += c++11 - -c++11 { - CONFIG += strict_c++ -} - -sanitize { - - CONFIG += sanitizer - CONFIG += sanitize_address - #CONFIG *= sanitize_memory - CONFIG *= sanitize_undefined -} - -# Include the generated moc files in the corresponding cpp file -# what increases the compile time significantly - -DEFINES += QWT_MOC_INCLUDE=1 -# DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 - -###################################################################### -# release/debug mode -###################################################################### - -win32 { - # On Windows you can't mix release and debug libraries. - # The designer is built in release mode. If you like to use it - # you need a release version. For your own application development you - # might need a debug version. - # Enable debug_and_release + build_all if you want to build both. - - CONFIG += debug_and_release - CONFIG += build_all -} -else { - - CONFIG += release - - VER_MAJ = $${QWT_VER_MAJ} - VER_MIN = $${QWT_VER_MIN} - VER_PAT = $${QWT_VER_PAT} - VERSION = $${QWT_VERSION} -} - -linux { - - pedantic { - - DEFINES += QT_STRICT_ITERATORS - # DEFINES += __STRICT_ANSI__ - - # Qt headers do not stand pedantic checks, so it's better - # to exclude them by declaring them as system includes - - QMAKE_CXXFLAGS += \ - -isystem $$[QT_INSTALL_HEADERS] \ - -isystem $$[QT_INSTALL_HEADERS]/QtCore \ - -isystem $$[QT_INSTALL_HEADERS]/QtGui \ - -isystem $$[QT_INSTALL_HEADERS]/QtWidgets - } - - linux-g++ | linux-g++-64 { - - # CONFIG += separate_debug_info - - sanitize_undefined { - - GCC_VERSION = $$system("$$QMAKE_CXX -dumpversion") - equals(GCC_VERSION,4) || contains(GCC_VERSION, 4.* ) { - - CONFIG -= sanitize_undefined - } - } - - c++11 { - QMAKE_CXXFLAGS *= -Wsuggest-override - } - - pedantic { - - CONFIG -= warn_on - - QMAKE_CXXFLAGS *= -Wall - QMAKE_CXXFLAGS *= -Wextra - QMAKE_CXXFLAGS *= -Wpedantic - - QMAKE_CXXFLAGS *= -Wcast-qual - QMAKE_CXXFLAGS *= -Wcast-align - QMAKE_CXXFLAGS *= -Wlogical-op - QMAKE_CXXFLAGS *= -Wredundant-decls - QMAKE_CXXFLAGS *= -Wformat - QMAKE_CXXFLAGS *= -Wshadow - QMAKE_CXXFLAGS *= -Woverloaded-virtual - - # checks qwt code does not pass, but should be able to - # QMAKE_CXXFLAGS *= -Wconversion - - # checks qwt code does not pass - - # QMAKE_CXXFLAGS *= -Wuseless-cast - # QMAKE_CXXFLAGS *= -Wmissing-declarations - # QMAKE_CXXFLAGS *= -Winline - # QMAKE_CXXFLAGS *= -Wdouble-promotion - # QMAKE_CXXFLAGS *= -Wfloat-equal - # QMAKE_CXXFLAGS *= -Wpadded - # QMAKE_CXXFLAGS *= -Waggregate-return - # QMAKE_CXXFLAGS *= -Wzero-as-null-pointer-constant - } - - # --- optional optimzations - - # qwt code doesn't check errno after calling math functions - # so it is perfectly safe to disable it in favor of better performance - QMAKE_CXXFLAGS *= -fno-math-errno - - # qwt code doesn't rely ( at least intends not to do ) - # on an exact implementation of IEEE or ISO rules/specifications - QMAKE_CXXFLAGS *= -funsafe-math-optimizations - - # also enables -fno-math-errno and -funsafe-math-optimizations - # QMAKE_CXXFLAGS *= -ffast-math - - # QMAKE_CXXFLAGS_DEBUG *= -Og # since gcc 4.8 - - # QMAKE_CXXFLAGS_RELEASE *= -O3 - # QMAKE_CXXFLAGS_RELEASE *= -Ofast - # QMAKE_CXXFLAGS_RELEASE *= -Os - - # when using the gold linker ( Qt < 4.8 ) - might be - # necessary on non linux systems too - #QMAKE_LFLAGS += -lrt - - sanitize { - - # QMAKE_CXXFLAGS *= -fsanitize-address-use-after-scope - # QMAKE_LFLAGS *= -fsanitize-address-use-after-scope - } - } - - linux-clang { - - # workaround for a clang 3.8 bug - # DEFINES += __STRICT_ANSI__ - - # QMAKE_CXXFLAGS_RELEASE *= -O3 - } - - # QMAKE_CXXFLAGS *= -Werror -} - -qtsystemincludes { - - # mark Qt directories as a system directories - usually to get rid - # of compiler warnings in Qt headers of old Qt versions - # when being built with modern compilers - - QMAKE_CXXFLAGS += \ - -isystem $$[QT_INSTALL_HEADERS]/QtCore \ - -isystem $$[QT_INSTALL_HEADERS]/QtGui -} - -###################################################################### -# paths for building qwt -###################################################################### - -MOC_DIR = moc -RCC_DIR = resources - -!debug_and_release { - - # in case of debug_and_release object files - # are built in the release and debug subdirectories - OBJECTS_DIR = obj -} diff --git a/qwtconfig.pri b/qwtconfig.pri deleted file mode 100644 index 0b054e0..0000000 --- a/qwtconfig.pri +++ /dev/null @@ -1,178 +0,0 @@ -################################################################ -# Qwt Widget Library -# Copyright (C) 1997 Josef Wilgen -# Copyright (C) 2002 Uwe Rathmann -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the Qwt License, Version 1.0 -################################################################ - -QWT_VER_MAJ = 6 -QWT_VER_MIN = 2 -QWT_VER_PAT = 0 -QWT_VERSION = $${QWT_VER_MAJ}.$${QWT_VER_MIN}.$${QWT_VER_PAT} - -###################################################################### -# Install paths -###################################################################### - -QWT_INSTALL_PREFIX = $$[QT_INSTALL_PREFIX] - -unix { - QWT_INSTALL_PREFIX = /usr/local/qwt-$$QWT_VERSION - # QWT_INSTALL_PREFIX = /usr/local/qwt-$$QWT_VERSION-qt-$$QT_VERSION -} - -win32 { - QWT_INSTALL_PREFIX = C:/Qwt-$$QWT_VERSION - # QWT_INSTALL_PREFIX = C:/Qwt-$$QWT_VERSION-qt-$$QT_VERSION -} - -QWT_INSTALL_DOCS = $${QWT_INSTALL_PREFIX}/doc -QWT_INSTALL_HEADERS = $${QWT_INSTALL_PREFIX}/include -QWT_INSTALL_LIBS = $${QWT_INSTALL_PREFIX}/lib - -###################################################################### -# Designer plugin -# creator/designer load designer plugins from certain default -# directories ( f.e the path below QT_INSTALL_PREFIX ) and the -# directories listed in the QT_PLUGIN_PATH environment variable. -# When using the path below QWT_INSTALL_PREFIX you need to -# add $${QWT_INSTALL_PREFIX}/plugins to QT_PLUGIN_PATH in the -# runtime environment of designer/creator. -###################################################################### - -QWT_INSTALL_PLUGINS = $${QWT_INSTALL_PREFIX}/plugins/designer - -# linux distributors often organize the Qt installation -# their way and QT_INSTALL_PREFIX doesn't offer a good -# path. Also QT_INSTALL_PREFIX is only one of the default -# search paths of the designer - not the Qt creator - -#QWT_INSTALL_PLUGINS = $$[QT_INSTALL_PREFIX]/plugins/designer - -###################################################################### -# Features -# When building a Qwt application with qmake you might want to load -# the compiler/linker flags, that are required to build a Qwt application -# from qwt.prf. Therefore all you need to do is to add "CONFIG += qwt" -# to your project file and take care, that qwt.prf can be found by qmake. -# ( see http://doc.trolltech.com/4.7/qmake-advanced-usage.html#adding-new-configuration-features ) -# I recommend not to install the Qwt features together with the -# Qt features, because you will have to reinstall the Qwt features, -# with every Qt upgrade. -###################################################################### - -QWT_INSTALL_FEATURES = $${QWT_INSTALL_PREFIX}/features -# QWT_INSTALL_FEATURES = $$[QT_INSTALL_PREFIX]/features - -###################################################################### -# Build the static/shared libraries. -# If QwtDll is enabled, a shared library is built, otherwise -# it will be a static library. -###################################################################### - -QWT_CONFIG += QwtDll - -###################################################################### -# QwtPlot enables all classes, that are needed to use the QwtPlot -# widget. -###################################################################### - -QWT_CONFIG += QwtPlot - -###################################################################### -# QwtPPolar enables all classes, that are needed to use the QwtPolar -# classes. It can't be enabled without also enabling QwtPlot -###################################################################### - -QWT_CONFIG += QwtPolar - -###################################################################### -# QwtWidgets enables all classes, that are needed to use the all other -# widgets (sliders, dials, ...), beside QwtPlot. -###################################################################### - -QWT_CONFIG += QwtWidgets - -###################################################################### -# If you want to display svg images on the plot canvas, or -# export a plot to a SVG document -###################################################################### - -QWT_CONFIG += QwtSvg - -###################################################################### -# If you want to use a OpenGL plot canvas -###################################################################### - -QWT_CONFIG += QwtOpenGL - -###################################################################### -# If you want to build the Qwt designer plugin, -# enable the line below. -# Otherwise you have to build it from the designer directory. -###################################################################### - -QWT_CONFIG += QwtDesigner - -###################################################################### -# Compile all Qwt classes into the designer plugin instead -# of linking it against the shared Qwt library. Has no effect -# when QwtDesigner or QwtDll are not both enabled. -# -# On systems where rpath is supported ( all Unixoids ) the -# location of the installed Qwt library is compiled into the plugin, -# but on Windows it might be easier to have a self contained -# plugin to avoid any hassle with configuring the runtime -# environment of the designer/creator. -###################################################################### - -win32 { - QWT_CONFIG += QwtDesignerSelfContained -} - -###################################################################### -# If you want to auto build the examples, enable the line below -# Otherwise you have to build them from the examples directory. -###################################################################### - -QWT_CONFIG += QwtExamples - -###################################################################### -# The playground is primarily intended for the Qwt development -# to explore and test new features. Nevertheless you might find -# ideas or code snippets that help for application development -# If you want to auto build the applications in playground, enable -# the line below. -# Otherwise you have to build them from the playground directory. -###################################################################### - -QWT_CONFIG += QwtPlayground - -###################################################################### -# If you want to auto build the tests, enable the line below -# Otherwise you have to build them from the tests directory. -###################################################################### - -QWT_CONFIG += QwtTests - -###################################################################### -# When Qt has been built as framework qmake wants -# to link frameworks instead of regular libs -###################################################################### - -macx:!static:CONFIG(qt_framework, qt_framework|qt_no_framework) { - - QWT_CONFIG += QwtFramework -} - -###################################################################### -# Create and install pc files for pkg-config -# See http://www.freedesktop.org/wiki/Software/pkg-config/ -###################################################################### - -unix { - - QWT_CONFIG += QwtPkgConfig -} diff --git a/qwtfunctions.pri b/qwtfunctions.pri deleted file mode 100644 index 45ba6b6..0000000 --- a/qwtfunctions.pri +++ /dev/null @@ -1,94 +0,0 @@ -################################################################ -# Qwt Widget Library -# Copyright (C) 1997 Josef Wilgen -# Copyright (C) 2002 Uwe Rathmann -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the Qwt License, Version 1.0 -################################################################ - -# Copied and modified from qt_functions.prf - -defineReplace(qwtLibraryTarget) { - - unset(LIBRARY_NAME) - LIBRARY_NAME = $$1 - - mac:contains(QWT_CONFIG, QwtFramework) { - - QMAKE_FRAMEWORK_BUNDLE_NAME = $$LIBRARY_NAME - export(QMAKE_FRAMEWORK_BUNDLE_NAME) - } - - contains(TEMPLATE, .*lib):CONFIG(debug, debug|release) { - - !debug_and_release|build_pass { - - mac:RET = $$member(LIBRARY_NAME, 0)_debug - win32:RET = $$member(LIBRARY_NAME, 0)d - } - } - - isEmpty(RET):RET = $$LIBRARY_NAME - return($$RET) -} - -defineTest(qwtAddLibrary) { - - LIB_PATH = $$1 - LIB_NAME = $$2 - - mac:contains(QWT_CONFIG, QwtFramework) { - - LIBS *= -F$${LIB_PATH} - } - else { - - unix:lessThan(QT_MAJOR_VERSION, 5) { - - # Many Linux distributions install Qwt in the same directory - # as the Qt libs and thus we need to prepend the path for the local build - # to avoid conflicting with the installed version. - # Qt5 qmake appends ( instead of prepending ) the path to the Qt libs - # to LIBS, but for Qt4 we need to use the QMAKE_LIBDIR_FLAGS. - - QMAKE_LIBDIR_FLAGS *= -L$${LIB_PATH} - } - else { - LIBS *= -L$${LIB_PATH} - } - } - - unset(LINKAGE) - - mac:contains(QWT_CONFIG, QwtFramework) { - - LINKAGE = -framework $${LIB_NAME} - } - - isEmpty(LINKAGE) { - - if(!debug_and_release|build_pass):CONFIG(debug, debug|release) { - - mac:LINKAGE = -l$${LIB_NAME}_debug - win32:LINKAGE = -l$${LIB_NAME}d - } - } - - isEmpty(LINKAGE) { - - LINKAGE = -l$${LIB_NAME} - } - - !isEmpty(QMAKE_LSB) { - - QMAKE_LFLAGS *= --lsb-shared-libs=$${LIB_NAME} - } - - LIBS += $$LINKAGE - export(LIBS) - export(QMAKE_LFLAGS) - export(QMAKE_LIBDIR_FLAGS) - - return(true) -} diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 07fe43e..3a72ca8 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -19,6 +19,7 @@ target_compile_definitions(qwt target_include_directories(qwt INTERFACE ${CMAKE_CURRENT_LIST_DIR}/ + ${CMAKE_CURRENT_LIST_DIR}/../classincludes # ${PROJECT_BINARY_DIR}/ ) @@ -49,13 +50,11 @@ target_sources(qwt ) target_link_libraries(qwt - PUBLIC - - PRIVATE - Qt6::Core - Qt6::OpenGLWidgets - Qt6::Widgets - Qt6::Concurrent - Qt6::PrintSupport - Qt6::Svg + PUBLIC + Qt6::Core + Qt6::OpenGLWidgets + Qt6::Widgets + Qt6::Concurrent + Qt6::PrintSupport + Qt6::Svg ) diff --git a/src/src.pri b/src/src.pri deleted file mode 100644 index f28d13e..0000000 --- a/src/src.pri +++ /dev/null @@ -1,369 +0,0 @@ -################################################################ -# Qwt Widget Library -# Copyright (C) 1997 Josef Wilgen -# Copyright (C) 2002 Uwe Rathmann -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the Qwt License, Version 1.0 -################################################################ - - -HEADERS += \ - qwt.h \ - qwt_abstract_scale_draw.h \ - qwt_bezier.h \ - qwt_clipper.h \ - qwt_color_map.h \ - qwt_column_symbol.h \ - qwt_date.h \ - qwt_date_scale_draw.h \ - qwt_date_scale_engine.h \ - qwt_dyngrid_layout.h \ - qwt_global.h \ - qwt_graphic.h \ - qwt_interval.h \ - qwt_interval_symbol.h \ - qwt_math.h \ - qwt_magnifier.h \ - qwt_null_paintdevice.h \ - qwt_painter.h \ - qwt_painter_command.h \ - qwt_panner.h \ - qwt_picker.h \ - qwt_picker_machine.h \ - qwt_pixel_matrix.h \ - qwt_point_3d.h \ - qwt_point_polar.h \ - qwt_round_scale_draw.h \ - qwt_scale_div.h \ - qwt_scale_draw.h \ - qwt_scale_engine.h \ - qwt_scale_map.h \ - qwt_spline.h \ - qwt_spline_basis.h \ - qwt_spline_parametrization.h \ - qwt_spline_local.h \ - qwt_spline_cubic.h \ - qwt_spline_pleasing.h \ - qwt_spline_polynomial.h \ - qwt_symbol.h \ - qwt_system_clock.h \ - qwt_text_engine.h \ - qwt_text_label.h \ - qwt_text.h \ - qwt_transform.h \ - qwt_widget_overlay.h - -SOURCES += \ - qwt.cpp \ - qwt_abstract_scale_draw.cpp \ - qwt_bezier.cpp \ - qwt_clipper.cpp \ - qwt_color_map.cpp \ - qwt_column_symbol.cpp \ - qwt_date.cpp \ - qwt_date_scale_draw.cpp \ - qwt_date_scale_engine.cpp \ - qwt_dyngrid_layout.cpp \ - qwt_event_pattern.cpp \ - qwt_graphic.cpp \ - qwt_interval.cpp \ - qwt_interval_symbol.cpp \ - qwt_math.cpp \ - qwt_magnifier.cpp \ - qwt_null_paintdevice.cpp \ - qwt_painter.cpp \ - qwt_painter_command.cpp \ - qwt_panner.cpp \ - qwt_picker.cpp \ - qwt_picker_machine.cpp \ - qwt_pixel_matrix.cpp \ - qwt_point_3d.cpp \ - qwt_point_polar.cpp \ - qwt_round_scale_draw.cpp \ - qwt_scale_div.cpp \ - qwt_scale_draw.cpp \ - qwt_scale_map.cpp \ - qwt_scale_engine.cpp \ - qwt_spline.cpp \ - qwt_spline_basis.cpp \ - qwt_spline_parametrization.cpp \ - qwt_spline_local.cpp \ - qwt_spline_cubic.cpp \ - qwt_spline_pleasing.cpp \ - qwt_spline_polynomial.cpp \ - qwt_symbol.cpp \ - qwt_system_clock.cpp \ - qwt_text_engine.cpp \ - qwt_text_label.cpp \ - qwt_text.cpp \ - qwt_transform.cpp \ - qwt_widget_overlay.cpp - - -contains(QWT_CONFIG, QwtPlot) { - - HEADERS += \ - qwt_axis.h \ - qwt_axis_id.h \ - qwt_curve_fitter.h \ - qwt_spline_curve_fitter.h \ - qwt_weeding_curve_fitter.h \ - qwt_event_pattern.h \ - qwt_abstract_legend.h \ - qwt_legend.h \ - qwt_legend_data.h \ - qwt_legend_label.h \ - qwt_plot.h \ - qwt_plot_renderer.h \ - qwt_plot_curve.h \ - qwt_plot_dict.h \ - qwt_plot_directpainter.h \ - qwt_plot_graphicitem.h \ - qwt_plot_grid.h \ - qwt_plot_histogram.h \ - qwt_plot_item.h \ - qwt_plot_abstract_barchart.h \ - qwt_plot_barchart.h \ - qwt_plot_multi_barchart.h \ - qwt_plot_intervalcurve.h \ - qwt_plot_tradingcurve.h \ - qwt_plot_layout.h \ - qwt_plot_marker.h \ - qwt_plot_zoneitem.h \ - qwt_plot_textlabel.h \ - qwt_plot_rasteritem.h \ - qwt_plot_spectrogram.h \ - qwt_plot_spectrocurve.h \ - qwt_plot_scaleitem.h \ - qwt_plot_legenditem.h \ - qwt_plot_seriesitem.h \ - qwt_plot_shapeitem.h \ - qwt_plot_vectorfield.h \ - qwt_plot_abstract_canvas.h \ - qwt_plot_canvas.h \ - qwt_plot_panner.h \ - qwt_plot_picker.h \ - qwt_plot_zoomer.h \ - qwt_plot_magnifier.h \ - qwt_plot_rescaler.h \ - qwt_point_mapper.h \ - qwt_raster_data.h \ - qwt_matrix_raster_data.h \ - qwt_vectorfield_symbol.h \ - qwt_sampling_thread.h \ - qwt_samples.h \ - qwt_series_data.h \ - qwt_series_store.h \ - qwt_point_data.h \ - qwt_scale_widget.h - - SOURCES += \ - qwt_curve_fitter.cpp \ - qwt_spline_curve_fitter.cpp \ - qwt_weeding_curve_fitter.cpp \ - qwt_abstract_legend.cpp \ - qwt_legend.cpp \ - qwt_legend_data.cpp \ - qwt_legend_label.cpp \ - qwt_plot.cpp \ - qwt_plot_renderer.cpp \ - qwt_plot_axis.cpp \ - qwt_plot_curve.cpp \ - qwt_plot_dict.cpp \ - qwt_plot_directpainter.cpp \ - qwt_plot_graphicitem.cpp \ - qwt_plot_grid.cpp \ - qwt_plot_histogram.cpp \ - qwt_plot_item.cpp \ - qwt_plot_abstract_barchart.cpp \ - qwt_plot_barchart.cpp \ - qwt_plot_multi_barchart.cpp \ - qwt_plot_intervalcurve.cpp \ - qwt_plot_zoneitem.cpp \ - qwt_plot_tradingcurve.cpp \ - qwt_plot_spectrogram.cpp \ - qwt_plot_spectrocurve.cpp \ - qwt_plot_scaleitem.cpp \ - qwt_plot_legenditem.cpp \ - qwt_plot_seriesitem.cpp \ - qwt_plot_shapeitem.cpp \ - qwt_plot_vectorfield.cpp \ - qwt_plot_marker.cpp \ - qwt_plot_textlabel.cpp \ - qwt_plot_layout.cpp \ - qwt_plot_abstract_canvas.cpp \ - qwt_plot_canvas.cpp \ - qwt_plot_panner.cpp \ - qwt_plot_rasteritem.cpp \ - qwt_plot_picker.cpp \ - qwt_plot_zoomer.cpp \ - qwt_plot_magnifier.cpp \ - qwt_plot_rescaler.cpp \ - qwt_point_mapper.cpp \ - qwt_raster_data.cpp \ - qwt_matrix_raster_data.cpp \ - qwt_vectorfield_symbol.cpp \ - qwt_sampling_thread.cpp \ - qwt_series_data.cpp \ - qwt_point_data.cpp \ - qwt_scale_widget.cpp - - contains(QWT_CONFIG, QwtOpenGL) { - - lessThan(QT_MAJOR_VERSION, 6) { - - HEADERS += \ - qwt_plot_glcanvas.h - - SOURCES += \ - qwt_plot_glcanvas.cpp - } - - greaterThan(QT_MAJOR_VERSION, 4) { - - lessThan( QT_MAJOR_VERSION, 6) { - - greaterThan(QT_MINOR_VERSION, 3) { - -# HEADERS += qwt_plot_opengl_canvas.h -# SOURCES += qwt_plot_opengl_canvas.cpp - } - } - else { - QT += openglwidgets - - HEADERS += qwt_plot_opengl_canvas.h - SOURCES += qwt_plot_opengl_canvas.cpp - } - - } - - } - - contains(QWT_CONFIG, QwtSvg) { - - HEADERS += \ - qwt_plot_svgitem.h - - SOURCES += \ - qwt_plot_svgitem.cpp - } - - contains(QWT_CONFIG, QwtPolar) { - - HEADERS += \ - qwt_polar.h \ - qwt_polar_canvas.h \ - qwt_polar_curve.h \ - qwt_polar_fitter.h \ - qwt_polar_grid.h \ - qwt_polar_itemdict.h \ - qwt_polar_item.h \ - qwt_polar_layout.h \ - qwt_polar_magnifier.h \ - qwt_polar_marker.h \ - qwt_polar_panner.h \ - qwt_polar_picker.h \ - qwt_polar_plot.h \ - qwt_polar_renderer.h \ - qwt_polar_spectrogram.h - - SOURCES += \ - qwt_polar_canvas.cpp \ - qwt_polar_curve.cpp \ - qwt_polar_fitter.cpp \ - qwt_polar_grid.cpp \ - qwt_polar_item.cpp \ - qwt_polar_itemdict.cpp \ - qwt_polar_layout.cpp \ - qwt_polar_magnifier.cpp \ - qwt_polar_marker.cpp \ - qwt_polar_panner.cpp \ - qwt_polar_picker.cpp \ - qwt_polar_plot.cpp \ - qwt_polar_renderer.cpp \ - qwt_polar_spectrogram.cpp - } -} - -greaterThan(QT_MAJOR_VERSION, 4) { - - QT += printsupport - QT += concurrent -} - -contains(QWT_CONFIG, QwtSvg) { - - greaterThan(QT_MAJOR_VERSION, 4) { - - qtHaveModule(svg) { - QT += svg - } - else { - warning("QwtSvg is enabled in qwtconfig.pri, but Qt has not been built with svg support") - } - } - else { - QT += svg - } -} -else { - - DEFINES += QWT_NO_SVG -} - -contains(QWT_CONFIG, QwtOpenGL) { - - greaterThan(QT_MAJOR_VERSION, 4) { - - qtHaveModule(opengl) { - QT += opengl - } - else { - warning("QwtOpenGL is enabled in qwtconfig.pri, but Qt has not been built with opengl support") - } - } - else { - QT += opengl - } - - QT += opengl -} -else { - - DEFINES += QWT_NO_OPENGL -} - -contains(QWT_CONFIG, QwtWidgets) { - - HEADERS += \ - qwt_abstract_slider.h \ - qwt_abstract_scale.h \ - qwt_arrow_button.h \ - qwt_analog_clock.h \ - qwt_compass.h \ - qwt_compass_rose.h \ - qwt_counter.h \ - qwt_dial.h \ - qwt_dial_needle.h \ - qwt_knob.h \ - qwt_slider.h \ - qwt_thermo.h \ - qwt_wheel.h - - SOURCES += \ - qwt_abstract_slider.cpp \ - qwt_abstract_scale.cpp \ - qwt_arrow_button.cpp \ - qwt_analog_clock.cpp \ - qwt_compass.cpp \ - qwt_compass_rose.cpp \ - qwt_counter.cpp \ - qwt_dial.cpp \ - qwt_dial_needle.cpp \ - qwt_knob.cpp \ - qwt_slider.cpp \ - qwt_thermo.cpp \ - qwt_wheel.cpp -} diff --git a/src/src.pro b/src/src.pro deleted file mode 100644 index 5b27f94..0000000 --- a/src/src.pro +++ /dev/null @@ -1,114 +0,0 @@ -################################################################ -# Qwt Widget Library -# Copyright (C) 1997 Josef Wilgen -# Copyright (C) 2002 Uwe Rathmann -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the Qwt License, Version 1.0 -################################################################ - -# qmake project file for building the qwt libraries - -QWT_ROOT = $${PWD}/.. -include( $${QWT_ROOT}/qwtconfig.pri ) -include( $${QWT_ROOT}/qwtbuild.pri ) -include( $${QWT_ROOT}/qwtfunctions.pri ) - -QWT_OUT_ROOT = $${OUT_PWD}/.. - -TEMPLATE = lib -TARGET = $$qwtLibraryTarget(qwt) - -DESTDIR = $${QWT_OUT_ROOT}/lib - -contains(QWT_CONFIG, QwtDll) { - - CONFIG += dll - win32|symbian: DEFINES += QT_DLL QWT_DLL QWT_MAKEDLL - - unix:!macx { - !isEmpty( QMAKE_LFLAGS_SONAME ) { - - # we increase the SONAME for every minor number - - QWT_SONAME=libqwt.so.$${VER_MAJ}.$${VER_MIN} - QMAKE_LFLAGS *= $${QMAKE_LFLAGS_SONAME}$${QWT_SONAME} - QMAKE_LFLAGS_SONAME= - } - } -} -else { - CONFIG += staticlib -} - -contains(QWT_CONFIG, QwtFramework) { - - CONFIG += lib_bundle -} - -include ( $${PWD}/src.pri ) - -# Install directives - -target.path = $${QWT_INSTALL_LIBS} -INSTALLS = target - -CONFIG(lib_bundle) { - - FRAMEWORK_HEADERS.version = Versions - FRAMEWORK_HEADERS.files = $${HEADERS} - FRAMEWORK_HEADERS.path = Headers - QMAKE_BUNDLE_DATA += FRAMEWORK_HEADERS -} -else { - - headers.files = $${HEADERS} - headers.path = $${QWT_INSTALL_HEADERS} - INSTALLS += headers -} - -contains(QWT_CONFIG, QwtPkgConfig) { - - CONFIG += create_pc create_prl no_install_prl - - QMAKE_PKGCONFIG_NAME = Qwt$${QWT_VER_MAJ} - QMAKE_PKGCONFIG_DESCRIPTION = Qt Widgets for Technical Applications - - QMAKE_PKGCONFIG_LIBDIR = $${QWT_INSTALL_LIBS} - QMAKE_PKGCONFIG_INCDIR = $${QWT_INSTALL_HEADERS} - - QMAKE_PKGCONFIG_DESTDIR = pkgconfig - - greaterThan(QT_MAJOR_VERSION, 4) { - - QMAKE_PKGCONFIG_FILE = Qt$${QT_MAJOR_VERSION}$${QMAKE_PKGCONFIG_NAME} - QMAKE_PKGCONFIG_REQUIRES = Qt5Widgets Qt5Concurrent Qt5PrintSupport - - contains(QWT_CONFIG, QwtSvg) { - QMAKE_PKGCONFIG_REQUIRES += Qt5Svg - } - - contains(QWT_CONFIG, QwtOpenGL) { - QMAKE_PKGCONFIG_REQUIRES += Qt5OpenGL - } - - QMAKE_DISTCLEAN += $${DESTDIR}/$${QMAKE_PKGCONFIG_DESTDIR}/$${QMAKE_PKGCONFIG_FILE}.pc - } - else { - - # there is no QMAKE_PKGCONFIG_FILE fo Qt4 - QMAKE_PKGCONFIG_REQUIRES = QtGui - - contains(QWT_CONFIG, QwtSvg) { - QMAKE_PKGCONFIG_REQUIRES += QtSvg - } - - contains(QWT_CONFIG, QwtOpenGL) { - QMAKE_PKGCONFIG_REQUIRES += QtOpenGL - } - - QMAKE_DISTCLEAN += $${DESTDIR}/$${QMAKE_PKGCONFIG_DESTDIR}/$${TARGET}.pc - } - - QMAKE_DISTCLEAN += $${DESTDIR}/libqwt.prl -} diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index e69de29..111bc28 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -0,0 +1,21 @@ +file(GLOB SUBDIRS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "${CMAKE_CURRENT_SOURCE_DIR}/*") + +foreach(SUBDIR ${SUBDIRS}) + if(IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${SUBDIR}) + file(GLOB SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/${SUBDIR}/*.cpp" "${CMAKE_CURRENT_SOURCE_DIR}/${SUBDIR}/*.h") + + if(SOURCES) + add_executable(${SUBDIR} ${SOURCES}) + + target_include_directories(${SUBDIR} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/${SUBDIR}) + + target_link_libraries(${SUBDIR} qwt) + if(NOT QWT_BUILD_TESTS) + set_target_properties(${SUBDIR} PROPERTIES + EXCLUDE_FROM_ALL TRUE + EXCLUDE_FROM_DEFAULT_BUILD TRUE # mainly for Visual Studio + ) + endif() + endif() + endif() +endforeach() diff --git a/tests/tests.pri b/tests/tests.pri deleted file mode 100644 index ca62f8e..0000000 --- a/tests/tests.pri +++ /dev/null @@ -1,71 +0,0 @@ -################################################################ -# Qwt Widget Library -# Copyright (C) 1997 Josef Wilgen -# Copyright (C) 2002 Uwe Rathmann -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the Qwt License, Version 1.0 -################################################################### - -QWT_ROOT = $${PWD}/.. -include( $${QWT_ROOT}/qwtconfig.pri ) -include( $${QWT_ROOT}/qwtbuild.pri ) -include( $${QWT_ROOT}/qwtfunctions.pri ) - -QWT_OUT_ROOT = $${OUT_PWD}/../.. - -TEMPLATE = app - -INCLUDEPATH += $${QWT_ROOT}/src -DEPENDPATH += $${QWT_ROOT}/src - -INCLUDEPATH += $${QWT_ROOT}/classincludes -DEPENDPATH += $${QWT_ROOT}/classincludes - -!debug_and_release { - - DESTDIR = $${QWT_OUT_ROOT}/tests/bin -} -else { - CONFIG(debug, debug|release) { - - DESTDIR = $${QWT_OUT_ROOT}/tests/bin_debug - } - else { - - DESTDIR = $${QWT_OUT_ROOT}/tests/bin - } -} - - -QMAKE_RPATHDIR *= $${QWT_ROOT}/lib -qwtAddLibrary($${QWT_OUT_ROOT}/lib, qwt) - -greaterThan(QT_MAJOR_VERSION, 4) { - - QT += printsupport - QT += concurrent -} - -contains(QWT_CONFIG, QwtOpenGL ) { - - QT += opengl -} -else { - - DEFINES += QWT_NO_OPENGL -} - -contains(QWT_CONFIG, QwtSvg) { - - QT += svg -} -else { - - DEFINES += QWT_NO_SVG -} - - -contains(QWT_CONFIG, QwtDll) { - DEFINES += QT_DLL QWT_DLL -} diff --git a/tests/tests.pro b/tests/tests.pro deleted file mode 100644 index 7588b09..0000000 --- a/tests/tests.pro +++ /dev/null @@ -1,16 +0,0 @@ -################################################################ -# Qwt Widget Library -# Copyright (C) 1997 Josef Wilgen -# Copyright (C) 2002 Uwe Rathmann -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the Qwt License, Version 1.0 -################################################################ - -include( $${PWD}/../qwtconfig.pri ) - -TEMPLATE = subdirs - -SUBDIRS += \ - splinetest \ - splineprof