qdep icon indicating copy to clipboard operation
qdep copied to clipboard

Offline compiling fails

Open defaultsamson opened this issue 5 years ago • 2 comments

When opening a QT project with qdep integrated into it, sometimes it will not compile unless there's an internet connection to clone the git repository (or to make sure it's up to date). It's frustrating when I want to compile my project on-the-go without internet, even though the git repos had been previously cloned in the qdep cache.

Also notably (but understandably), when opening a freshly cloned project in QT Creator that integrates qdep, it won't allow the project to be indexed (because the qdep portion of the project file hangs then fails).

The integration in my *.pro file is simple as QDEP_DEPENDS += itay-grudev/SingleApplication@master

defaultsamson avatar Jul 11 '20 15:07 defaultsamson

qdep fails if git fails - so fixing this should be doable by telling git to not return an exit code indicating failure in case of a network error. If this is not possible with git, then there is no easy way for qdep to figure this out.

Skycoder42 avatar Jul 15 '20 20:07 Skycoder42

I currently have no resources to fix this unless somebody else wants to give it a try, this is a wontfix

Skycoder42 avatar Aug 04 '20 16:08 Skycoder42