This topic could serve to answer one question and perhaps assist in expediting others’ development for applications to run across the SAFE Network. The question is: Could Qt Creator with the GUI and the libraries of QtCore be compatible with SAFE Network? If so, is there still a better framework to use?
Sincerely,
DallyShalla
=QtCreator C++ Dev Environment - IDE with MaidSafe
=VIM/YCM C++ Dev Environment - Command Line with MaidSafe
Yes we used that in house to create some sample apps a while back, its perfectly fine. If you point qtcreator at the cmakelists.txt fill in the project root it will automatically create your project structure and load ours. You can poke about the code pretty quickly there.
If you point qtcreator at the cmakelists.txt fill in the project root it will automatically create your project structure and load ours. You can poke about the code pretty quickly there.
If you follow the build instruction for either the project itself or the examples project there will be a CMakeLists.txt in the root dir. Any cmake based project follows this pattern. So point at the root dir of the project you are looking at. There tends to be subdirs with their own CMakeLsits.txt also, so choose the root one.
Here is a wee example of Qt integration to create a multisig application (you will find the c++ code you need in the signing tool in common MaidSafe-Common/signing_tool.cc at master · maidsafe-archive/MaidSafe-Common · GitHub ) , I cannot remember what state it was in but as long as you have the maidsafe_exports file around as you do in the example projects then its a QT QML integration. I did this about 2 years ago and have zero time right now to do things like it, so you are more than welcome to use this as a basis for your testing, playing etc. You must have the maidsafe_export.cmake available though. That is in the root of the build dir when you make the project.
Right on the page you posted, hit enter. It should ask you to select a build dir and then you have the project and all targets. Soffy for delay, lost maidsafe.org for a second or two there.
I’ve returned, so in the page that is listed there it is asking for the location of the cmake executable instead I decided to try just opening the project, you can see what happened in the 40 seconds video, the following: http://infinityalgorithms.com/static/videos/QtCreatorAugust20-2014.mp4
Yes, I am updating the modules now, on a fresh clone. It is obvious I knew exactly where to go to find the source and the commands.
also, what is ‘HTH’ ?
My files with CMake are not properly configured I will use some minutes to reconfigure/reinstall CMake.
The latest:
In the next image; Don’t forget the CBFS otherwise it won’t go through correctly.
This is the error I am getting on Qt when trying to open a new build of MaidSafe Source
CMake Error at CMakeLists.txt:49 (project):
No CMAKE_CXX_COMPILER could be found.
Tell CMake where to find the compiler by setting the CMake cache entry
CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler
name if it is in the PATH.
@dallyshalla: Maybe you could make a FAQ sometime, describing this process. I like the use of the high res images, really helps the flow with these techy things.
Maybe a ‘Tutorial’ Category would be helpful, if folk started reporting their experiences like this.
I am not 100% sure here, when @Viv is around he can maybe help, he does a lot of that work. I am lost outside linux I am afraid. Last used MS in 1994 unfortunately.