Commit 3716791d authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Library wizard: Don't use base class unless it is a plugin.

Task-number: QTCREATORBUG-10444
Change-Id: Iae6559e27573dcdfdde70292f637eb820bf99c93
Reviewed-by: default avatarJarek Kobus <>
parent 5e9f67bf
......@@ -349,7 +349,8 @@ LibraryParameters LibraryWizardDialog::libraryParameters() const
LibraryParameters rc;
rc.className = m_filesPage->className();
rc.baseClassName = m_filesPage->baseClassName();
rc.baseClassName = type() == QtProjectParameters::Qt4Plugin ?
m_filesPage->baseClassName() : QString();
rc.sourceFileName = m_filesPage->sourceFileName();
rc.headerFileName = m_filesPage->headerFileName();
return rc;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment