-
Notifications
You must be signed in to change notification settings - Fork 32
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
Need some help for building on Windows #217
Comments
In src/qevercloud/QEverCloud/headers/export.h, you could change Q_DECL_IMPORT to Q_DECL_EXPORT. When I tried to build for the first time, I just did that too. There was an upgrade of qevercloud earlier, and I forgot to test the building under windows, sorry about that. |
You could try to disable the thumbnailing and auto sync, and see if that still happens. |
@boo-yee , thanks a lot! I found that the hard way, and it was exactly that! As I was able to build QEverCloud, I went to find what the differences were, and bingo! Thanks for confirming, and now I'm able to build master branch with Qt 5.5. :-) Were you able to build it with any later Qt version? Of course this is just a wild guess of mine, I thought about giving those versions a try to see if the interrupts were specifically related to Qt v5.5. However, both for Qt 5.14.2 and 5.15.2, I now have a problem during final linking complaining about undefined reference on Hunspell. I just started this investigation, don't know if it's related to Hunspell version - don't think so since build runs ok under v5.5. |
Thumbnailing was already disabled. Anyway, I've turned it on and back off. Auto Sync doesn't make any difference. Will keep playing with the options to see if any changes arise. Also started it on Linux with trace level, to see if something was happening each 15 secs, but so far, I didn't locate any internally scheduled action like that. Will keep studying the code to see if I find something like that. |
In case this reply misleads other people, I have to say changing qevercloud code is not an advisable way. The right way should be adding the macro in the commands of building the files about qevercloud. |
Hello, everybody!
I'm humbly asking for some help, hints, directions... any new info will do. I'm sorry if my issues sound very basic - they probably are. I just have started trying to build C++ projects and I see I have a loooong way to go - but I swear I'm usually a fast learner.
I've already spent lots of hours during the last month trying to solve and find solutions for the issues I'm facing, but it seems I'm in a wild guesses phase now.
I'm on Win7-64, Cygwin64, and followed Windows build directions on README:
At this point, I'm on robert7/master. I've tried debug and release configs, also tried robert7/develop branch... after some time having run mingw32-make, I always have, on
moc_types.cpp
, warnings followed by errors similar to these:It's a long list of same warnings and errors, on different members. On Cygwin (Qt v5.9), it doesn't show the QT_INIT_METAOBJECT on the line, but same it's pretty much the same result.
After lots of tries, trying other branches, Qt versions, Mingw versions... I did get to a complete build on a specific branch.
So, more or less like this:
I totally value your time, guys. I know that maybe just @boo-yee uses to build under Windows, but maybe some of you might have good questions or different suggestions.
I'll keep on using v2.1.9 as it is, because when not on calls, it works great, just the way I need. :-) But, of course, I'd like to have newer versions, maybe even build them by myself, and maybe get rid of the calls interrupting bug.
The text was updated successfully, but these errors were encountered: