Open tukoz opened 4 years ago
https://sources.debian.org/src/stacer/1.1.0-1/debian/control/
it is listed in the Build-Depends: line
And the Build-Depends for Debian/Ubuntu is:
cmake, libqt5charts5-dev, libqt5svg5-dev, qttools5-dev, fonts-inter
plus optional ccache
. Thank you @alexmyczkom . @oguzhaninan want a pull request to show the dependancies on README? As this has been issued for years e.g. #192 .
EDIT: Still can't build upon installing above deps:
~ $ make -j $(nproc)
...
[ 71%] Building CXX object stacer/CMakeFiles/stacer.dir/Pages/Services/service_item.cpp.o
/Stacer/stacer/Pages/Search/search_page.cpp: In member function ‘QList<QStandardItem*> SearchPage::createRow(const QString&)’:
/Stacer/stacer/Pages/Search/search_page.cpp:338:63: error: ‘class QFileInfo’ has no member named ‘metadataChangeTime’
QStandardItem *i_lastChange = new QStandardItem(fileInfo->metadataChangeTime().toString(mSearchResultDateFormat));
^~~~~~~~~~~~~~~~~~
/Stacer/stacer/Pages/Search/search_page.cpp:339:37: error: ‘class QFileInfo’ has no member named ‘metadataChangeTime’
i_lastChange->setData(fileInfo->metadataChangeTime().toString(mSearchResultDateFormat), rowRole);
^~~~~~~~~~~~~~~~~~
/Stacer/stacer/Pages/Search/search_page.cpp:340:37: error: ‘class QFileInfo’ has no member named ‘metadataChangeTime’
i_lastChange->setData(fileInfo->metadataChangeTime().toString(mSearchResultDateFormat), Qt::ToolTipRole);
^~~~~~~~~~~~~~~~~~
stacer/CMakeFiles/stacer.dir/build.make:392: recipe for target 'stacer/CMakeFiles/stacer.dir/Pages/Search/search_page.cpp.o' failed
make[2]: *** [stacer/CMakeFiles/stacer.dir/Pages/Search/search_page.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:180: recipe for target 'stacer/CMakeFiles/stacer.dir/all' failed
make[1]: *** [stacer/CMakeFiles/stacer.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
@tukoz you're hit by the same bug as i with https://github.com/oguzhaninan/Stacer/issues/331
it works from debian sid / ubuntu 20.04 on
Ubuntu 18.04 (i686) up-to-date.
Having installed
libqt5svg5-dev
andqttools5-dev-tools
as paulo discovered in #192 I'm stuck at compiling by another dependandy 'Qt5LinguistTools'. Problem, I can't find the Ubuntu package that provides it. Any hint please?