Skycoder42 / qdep

A very basic yet simple to use dependency management tool for qmake based projects
BSD 3-Clause "New" or "Revised" License
18 stars 4 forks source link

Offline compiling fails #6

Open defaultsamson opened 4 years ago

defaultsamson commented 4 years ago

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

Skycoder42 commented 4 years ago

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 commented 4 years ago

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