-
Notifications
You must be signed in to change notification settings - Fork 70
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
Windows Compile Error - Too many input files specified #756
Comments
Thanks for taking the time to report this issue Looks like something went wrong in the build side and it has decided to pass a load of folders to Are you able to provide a minimal example of the source code to the problem so that we can try to reproduce ? I also note that you are using |
Thanks for the reply. The source code is the example repo mentioned above with the one specified change in the cargo.yaml As for mingw_64 -- its possible I chose poorly. I'm new to cxx and to qt and to incorporating c++ libraries in this way. I will see if I can switch to msvc2019 and see if that works. Thanks again! |
Thanks! I'll also try and check if I can reproduce the issue when next on Windows :-) |
There were spaces in the path to the QT libraries bin folder and moc wasn't parsing them correctly. When I removed them this error was gone. I'll leave it to you guys to decide what to do with this issue. :) Thanks for the responses. |
And also for the record, and for future readers, switching qt to Is there a chat or discord community somewhere we can talk with people about this project? |
How did you install Qt? Using the official Qt binary installer? Is that a path that it uses by default? |
Install info is in OP -- you set the path you want. Best practices for windows have these in "Program Files". But in any case -- windows is a space-laden OS. :D |
@NotGovernor Note we now have https://cxx-qt.zulipchat.com :-) |
Thank you. :) |
I was working through the getting started book and ran into an error when I got to the point of building. So, to make sure it was nothing I did I grabbed the example from https://github.com/KDAB/cxx-qt/tree/main/examples/cargo_without_cmake
The only change I made was to the cargo.toml -- replacing the dependencies sections with the following:
Upon cargo run I get:
QT was installed with aqtinstall and the path to its bin was added to the system paths.
qmake --version returns:
Any assistance would be appreciated.
The text was updated successfully, but these errors were encountered: