Comments (6)
Hi!
which build-environment do you use? (Qt-Version, Compiler, OS, QMake/CMake)? ... Since I didn't see that problem until now ... I teste with up to Qt 5.15.
Note that Qt6 is not (yet?) supported!
Best,
JAN
from jkqtplotter.
I poked around a bit on the internet:
- Some people sporadically have suc problems, but they are mostly due to problems in te build system
- Qt's official recommendation for Qt 5.15 ist simply #include: https://doc.qt.io/Qt-5/qprintpreviewwidget.html
So could you let me know some more details about your build system?
from jkqtplotter.
Hi,
@jkriege2 thanks you for your answer. I tried the official Qt recommendation before I opened this ticket, but, it didn't worked out for me.
I'm currently building on Windows with the default Qt installation, version notes:
Qt Creator 4.13.0
Based on Qt 5.15.0 (MSVC 2019, 64 bit)
Built on Aug 25 2020 10:06:59
on
Windows 10 Pro
Version 10.0.18362 Build 18362
If this only affects me, you can also close the issue. I thought maybe someone else is experiencing the same issues.
Side note: Thank you for your awesome work, the plotter with all the examples is a really neat piece of work!
from jkqtplotter.
Hi!
could you try and add these two lines to lib\jkqtplotter\CMakeLists.txt
get_target_property(printsupp_inc Qt5::PrintSupport INTERFACE_INCLUDE_DIRECTORIES)
message("Qt5::PrintSupport::INTERFACE_INCLUDE_DIRECTORIES = ${printsupp_inc}")
... and check the output? I did a quick test with Qt 5.14, MSVC2017-64bit ... and for me it reads
Qt5::PrintSupport::INTERFACE_INCLUDE_DIRECTORIES = C:/development/Qt/5.13.2/msvc2017_64/include/;C:/development/Qt/5.13.2/msvc2017_64/include/QtPrintSupport
which should allow for writing #include
... or do you use QMake for building?
from jkqtplotter.
Hmmm ... I also checked with Qt 5.15.0/MSVC2019 ... and for me it works. Could you try my suggestion from above?
from jkqtplotter.
should be fixed via cc6a87c
from jkqtplotter.
Related Issues (20)
- Add ability to disable delayed resize event HOT 2
- Fix CMake usage for downstream consumers. HOT 6
- Question about versions/release naming
- Place indicators (or bar chart) under already existing plots HOT 2
- Lock the panning action to certain values HOT 8
- Can't write to PDF files with JKQTPlotter::saveImage() when passing a filename ending in ".pdf" HOT 4
- Are there plans to support 3D? HOT 1
- Create v4.0.1 tag? HOT 3
- Most of the examples fail to launch with MSVC2019 + Qt5 environment HOT 3
- Unnecessary printing of tilde symbol in math HOT 3
- Dangerous warning on MacOS with clang HOT 2
- Cmake parallel builds fail for examples most of the time HOT 4
- qt5.9 support for ubuntu18.04? HOT 1
- Crash in 4.0.2 HOT 7
- Compilation Failure in Windows with MinGW GCC HOT 7
- Is this a correct way of licensing? HOT 2
- Question about rendering unicode in plot labels HOT 6
- size in graph coordinates HOT 3
- Problem with mouse coordinate(s) in JKQTPlotter::wheelEvent() HOT 2
- Clipped Text and Large Key HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jkqtplotter.