Skip to content

CalcQt example not compiling in OS X with case-insensitive filesystem #83

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

Closed
wants to merge 1 commit into from

Conversation

adapar
Copy link

@adapar adapar commented Dec 4, 2015

In OS X with a case-insensitive filesystem the build process complains that there are no rules for examples/CalcQt/CMakeFiles/CalcQt.dir/depend. This happens because CalcQt.dir and calcqt.dir are seen by the filesystem as the same directory and one of the targets in examples/CalcQt/CMakeLists.txt is lots. The lines in question are:

    set(CALCQT_SOURCES src/CalcQt.cpp src/CalculatorWidget.cpp)
    add_executable(calcqt ${CALCQT_SOURCES} ${CALCQT_HEADERS_MOC})
    target_link_libraries(calcqt ${QT_LIBRARIES})
endif()

Changing target calcqt to CalcQtApp solves the issue.

…evious target clashed with the library target 'CalcQt' in OSX with a case-insensitive filesystem.
@konserw konserw mentioned this pull request Jan 11, 2016
Closed
@konserw
Copy link
Contributor

konserw commented Feb 13, 2016

I've created more complex PR that solves this:
Qt5 support for CalcQt example #98
Please close this PR if #98 is to be merged.

@adapar adapar closed this Feb 14, 2016
@adapar
Copy link
Author

adapar commented Feb 14, 2016

Ok, closed this in favor of #98

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants