Closed dannysun85 closed 7 months ago
Somehow you seem to have Qt installed on your Mac. What version of Slint are you using?
If you're looking for a workaround, I suggest to either remove qmake
from your PATH
or set SLINT_NO_QT=1
.
I really don't know why QTkit was installed, set SLINT_NO_QT=1 and everything worked fine. This problem has been bothering me for a long time, thank you so much it has been solved.
Would you still be able to paste us the output of which qmake
and qmake -query
? The SLINT_NO_QT=1
is just a workaround, we'd like to get to the root cause :)
So far it looks like it's my anaconda3 installation. They will install qtkit automatically.
Thank you for the info! That explains it. That might make it possible for us to reproduce it. Is this a bare-bones anaconda 3 install or did you install anything inside?
Indeed, this problem is also something we all need to pay attention to. At present, the best solution is to automatically set the configuration file for the user when installing. anaconda3 is the installation package I downloaded from the official.dmg, and installed directly.
Similar as https://github.com/slint-ui/slint/issues/4560 Fixed by https://github.com/slint-ui/slint/pull/4566 which disable Qt on mac by default even if it is found.
This is an exciting fix that helps us solve a lot of big problems!
I initialized and created the program and running cargo build directly got the following error:
The final error will look like this:
I don't know where the problem is, I have searched many places but can't find the cause of the error.