# how to fix some issues, which can occur when writing ebuilds for lomiri ## error: Could not locate qmlplugindump - inherit qmake-utils - add the following line in your ebuild: ```bash # add 'qmlplugindump' to PATH export PATH="$(qt5_get_bindir):${PATH}" ``` ## QA Notice: new icons were found installed but icon cache - inherit xdg - add pkg_postinst() and pkg_postrm() functions: ```bash # update the icon cache after installing a new icon pkg_postinst() { xdg_icon_cache_update } pkg_postrm() { xdg_icon_cache_update } ``` ## Compile Error pthreads - remove coresponding ccache and try again ````bash -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - not found -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - no CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:227 (message): Could NOT find Threads (missing: Threads_FOUND) Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:591 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake/Modules/FindThreads.cmake:226 (find_package_handle_standard_args) /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:78 (find_package) /usr/lib64/cmake/glog/glog-config.cmake:34 (find_dependency) CMakeLists.txt:42 (find_package) ````