We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
[make] ../../../src/cpp/qtjambi/qtjambi_functions.cpp: In constructor 'AdoptedThread::AdoptedThread()': [make] ../../../src/cpp/qtjambi/qtjambi_functions.cpp:94:48: error: invalid conversion from 'pthread_t {aka long unsigned int}' to 'Qt::HANDLE {aka void*}' [-fpermissive] [make] d_func()->data->threadId = pthread_self(); [make] ~~~~~~~~~~~~^~
The text was updated successfully, but these errors were encountered:
I am not a C++ developer, but I got past the same issue by fixing the line in question in this way: d_func()->data->threadId = reinterpret_cast<Qt::HANDLE>(pthread_self()); I got the suggestion from here: https://stackoverflow.com/questions/22744139/error-invalid-conversion-from-void-to-testapr-size-t-aka-long-unsigned
d_func()->data->threadId = reinterpret_cast<Qt::HANDLE>(pthread_self());
Sorry, something went wrong.
Fix build with Qt 5.6.2 (tilialabs#2)
ca2ea49
src/cpp/qtjambi/qtjambi_functions.cpp (AdoptedThread::AdoptedThread): Add missing casts. Fixes tilialabs#2.
No branches or pull requests
The text was updated successfully, but these errors were encountered: