forked from qt-creator/qt-creator
Revert "Revert "Designer: Fix look-up of resources for UI files""
This reverts commit d907df0349.
The original change was pushed to 4.10 and reverted there for
binary compatibility reasons. Revert the revert here.
Conflicts:
src/plugins/projectexplorer/projectnodes.h
Change-Id: Ibfd84a30a6cfdd78e1fa1b1c61785d391a5a18be
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -257,7 +257,14 @@ FolderNode::AddNewInformation QmakePriFileNode::addNewInformation(const QStringL
|
||||
QmakeProFileNode::QmakeProFileNode(QmakeProject *project, const FilePath &filePath, QmakeProFile *pf) :
|
||||
QmakePriFileNode(project, this, filePath, pf)
|
||||
{
|
||||
setIsProduct();
|
||||
if (projectType() == ProjectType::ApplicationTemplate) {
|
||||
setProductType(ProductType::App);
|
||||
} else if (projectType() == ProjectType::SharedLibraryTemplate
|
||||
|| projectType() == ProjectType::StaticLibraryTemplate) {
|
||||
setProductType(ProductType::Lib);
|
||||
} else if (projectType() != ProjectType::SubDirsTemplate) {
|
||||
setProductType(ProductType::Other);
|
||||
}
|
||||
}
|
||||
|
||||
bool QmakeProFileNode::showInSimpleTree() const
|
||||
|
||||
Reference in New Issue
Block a user