what techniques are helpful analyze event driven programs?
-
Calling cmake directly or through Qt Creator ?
-
Which file i must open for compiling the project with Qtcreator? I couldn't find a '*.pro' file.
But now I'm editing the cmake-file with make-gui. There are still three unset variables:Qt5Core_DIR,
QT_PRIVATE_INCLUDE_DIR
GLSLANG_VALIDATOR_EXECUTABLESo I think, if these are correct setten, it will build then fine.
-
If you're building a cmake based project you won't have a .pro file unless your project supports both build systems.
-
If you're building a cmake based project you won't have a .pro file unless your project supports both build systems.
Thanks for this hint. But building with QtCreator is throwing the same errrors. The main thing is that in CMakeList.txt there are some requests for packages which should be installed by the package manager. But I have here my Qt environment installed locally to my home directory, without using a package manager. Therefore, the the package managment says to cmake, there aren't such librarys installed and so cmake refuses the building.
I haven't much knowledge about cmake, so i will engage me learning more about cmake's facilities, and, maybe, i will being able tweaking the cmake files to my needs.
-
Was your project configured with cmake before using Qt Creator ?
-
Was your project configured with cmake before using Qt Creator ?
Did you mean I if I run cmake before I loaded the CMakeLists.cmake into Qt Creator? Surely.
But now I have installed the repository's Qt packages for my system (*.deb), in spite that's still Qt5.5, and now cmake configures fine.
Regrettably, "make" threw an error that there is missed a header file:private/qpainterpath_p.h
So I went to KDAB's homepage and installed its gammaray deb package. Now I'm able to run gammaray. -
In that case you have to help cmake find Qt 5. IIRC you can use
CMAKE_PREFIX_PATH
for that.Anyway, glad you could start hacking :)
-
You are missing a level, you have to go to the folder where
include
is located. -
You're welcome !
Happy hacking ! :)