Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: error cmake with USE_FILE and qt5 #45

Open
mckaygerhard opened this issue Sep 9, 2017 · 2 comments
Open

bug: error cmake with USE_FILE and qt5 #45

mckaygerhard opened this issue Sep 9, 2017 · 2 comments
Assignees
Labels

Comments

@mckaygerhard
Copy link
Member

mckaygerhard commented Sep 9, 2017

when build core with qt5 at 2015 or 2014 got error:

systemas@syslaptop1:~/Devel/moonlightde/mlde.d.moonlightde/builde$ USE_QT5=ON cmake ..
CMake Error at src/core/CMakeLists.txt:57 (include):
  include called with wrong number of arguments.  include() only takes one
  file.


-- No module descriptor found for panel, generating new one.
-- No module descriptor found for panel_dash_xdg, generating new one.
-- Configuring incomplete, errors occurred!

SOLUTION
now with newer cmake variable QT_USE_FILE is empty in liblxqt and qt5xdg was deprecated in cmake for qt5

now should use macro qt5_use_modules instead of QT_USE_FILE and QT_LIBRARIES.

So in your CMakeLists.txt you need to remove line:
INCLUDE (${QT_USE_FILE})

an later using qt5_use_modules is deprecated and target_link_libraries

@mckaygerhard
Copy link
Member Author

invalid, the lxqt and qtxdg was set to a invalid commit point.. closeit

@mckaygerhard mckaygerhard changed the title bug: error cmake with USE_FILE and qt5 misc: error cmake with USE_FILE and qt5 Sep 10, 2017
@mckaygerhard mckaygerhard changed the title misc: error cmake with USE_FILE and qt5 bug: error cmake with USE_FILE and qt5 Sep 10, 2017
@mckaygerhard mckaygerhard added bug and removed invalid labels Sep 10, 2017
@mckaygerhard mckaygerhard added this to the mlde: 0.7 (MoonLightDE) milestone Sep 10, 2017
@mckaygerhard
Copy link
Member Author

confirme bug, us files was deprecated in cmake for recent versions of qt5..

core sources use it, so need remove it, also recent version of qt5xdg dont use it

@mckaygerhard mckaygerhard reopened this Sep 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant