Copperspice 1.6 and Qt Creator 4.11 (Beta)
Posted: Tue Nov 12 2019 2:28 pm
So I saw that there are new binaries. Decided to try them out with Qt Creator.
I followed the instructions and could build a "Hello world" app in Qt Creator using CMake.
I then tried adding a QString so I added #include <QString>. Qt Creator complains it cannot find QString , so I look back at my earlier CMake and Qt work and see that it needed a "find_package(Qt5Core REQUIRED)"
Or more generally:
find_package(Qt5Widgets REQUIRED)
find_package(Qt5Concurrent REQUIRED)
find_package(Qt5Gui REQUIRED)
find_package(Qt5OpenGL REQUIRED)
find_package(Qt5PrintSupport REQUIRED)
find_package(Qt5Svg REQUIRED)
find_package(Qt5Widgets REQUIRED)
find_package(Qt5Test REQUIRED)
find_package(Qt5Sql REQUIRED)
Basically for every QT+= module in the .pro file there is the corresponding find_package. Is this the case for Copperspice?
So the next question is once I start using the drag'n drop issues with Qt Creator.. what is the role of Peppermill in this process. Does Peppermill need to be run in CMake?
And finally should these dll's be compatible with MSVS? If so what versions 2015/2017/2019?
You are also suggesting setting C++ std to 17 in the cmake. Is this really necessary? Could I get by using C++ 11 inside my CMake? Remember most C++ coders on a scale of 1-10 are a 5 or less, while you guys are 9+. C++17 will scare them the newer guys.
I followed the instructions and could build a "Hello world" app in Qt Creator using CMake.
I then tried adding a QString so I added #include <QString>. Qt Creator complains it cannot find QString , so I look back at my earlier CMake and Qt work and see that it needed a "find_package(Qt5Core REQUIRED)"
Or more generally:
find_package(Qt5Widgets REQUIRED)
find_package(Qt5Concurrent REQUIRED)
find_package(Qt5Gui REQUIRED)
find_package(Qt5OpenGL REQUIRED)
find_package(Qt5PrintSupport REQUIRED)
find_package(Qt5Svg REQUIRED)
find_package(Qt5Widgets REQUIRED)
find_package(Qt5Test REQUIRED)
find_package(Qt5Sql REQUIRED)
Basically for every QT+= module in the .pro file there is the corresponding find_package. Is this the case for Copperspice?
So the next question is once I start using the drag'n drop issues with Qt Creator.. what is the role of Peppermill in this process. Does Peppermill need to be run in CMake?
And finally should these dll's be compatible with MSVS? If so what versions 2015/2017/2019?
You are also suggesting setting C++ std to 17 in the cmake. Is this really necessary? Could I get by using C++ 11 inside my CMake? Remember most C++ coders on a scale of 1-10 are a 5 or less, while you guys are 9+. C++17 will scare them the newer guys.