Open julien-deramond opened 7 years ago
The qt-creator sources have have probably changes. I should probably add a commit to check out in the qt-creator submodule so this problem doesn't repeat itself. Tbh I haven't used this much.
In fact I mainly created this issue to inform you about the new changes of qt-creator sources and especially because it maybe could help the people who will try this project. Of course, it doesn't need a modification if you don't use it anymore :smiley:
Anyway thanks for having shared your work on the reformater.
Just out of interest. Did you update the qt-creator submodule by hand? Did you have to because the Qt5.8? Here it's Qt5.6 and it's building fine.
In fact, I'm currently working on a study about the QML formaters/checkers... and already had the last version of Qt and qt-creator (sources). I needed to modify especially the last version possible of ./src/libs/qmljs/qmljsreformatter.cpp so I used your project with the following manipulations:
$ git clone https://github.com/labsin/qmljsreformatte
$ cp -R ~/qt-creator-opensource-src-4.2.1/* qmljsreformatte/qt-creator/
$ mkdir build && cd build
$ CMAKE_PREFIX_PATH=/home/myuser/Qt-install/5.8/gcc_64/lib/cmake cmake ..
$ make
The fact that I didn't use the git option --recursive of course didn't download the qt-creator linked to your project.
I tried to install the project with the following context:
There is actually an undefined reference with _Utils::Icons::EDIT_CLEAR__ and a missing sleep.cpp file.
It is possible to fix the problem by modifying the CMakeLists.txt file: