Details
-
Bug
-
Resolution: Duplicate
-
P1: Critical
-
None
-
Qt Creator 4.6.0-beta1, Qt Creator 4.7.0-beta1
-
None
Description
I get a crash in src\plugins\qmakeandroidsupport\qmakeandroidbuildapkstep.cpp when I'm trying to open the qmake project that was previously configured for Android (so it has .user file).
The reason is that androidPackageSourceDir is called and pro->rootProjectNode() is null there.
I can fix it with
// QmakeProFileNode *root = pro->rootProjectNode(); if (!root) return Utils::FileName(); const QmakeProjectManager::QmakeProFileNode *node = root->findProFileFor(proFilePathForInputFile());
but I'm not sure why is it called at all. So probably it should not be called during project opening.
Attachments
Issue Links
- duplicates
-
QTCREATORBUG-19652 Creator crashes on Windows when creating a project for Android
- Closed