Commit c716817a authored by Steven Ceuppens's avatar Steven Ceuppens Committed by Friedemann Kleint
Browse files

Changed X_global.h file to lower case file name

When creating a new shared library project, the wizard generates next
to its class header and source files, also a _global.h file where the import
& export definitions happens. This _global.h file is always created with upper
case characters if you give your class name upper case chars...

example -> MyLib_global.h

Change-Id: Ic0ae2b740682f624b4c00cc1c7c40a29e08f554f
Reviewed-by: default avatarDaniel Teske <>
Reviewed-by: default avatarFriedemann Kleint <>
parent e4eaf929
......@@ -99,7 +99,7 @@ Core::GeneratedFiles LibraryWizard::generateFiles(const QWizard *w,
// Create files: global header for shared libs
QString globalHeaderFileName;
if (projectParams.type == QtProjectParameters::SharedLibrary) {
const QString globalHeaderName = buildFileName(projectPath, projectParams.fileName + QLatin1String(sharedHeaderPostfixC), headerSuffix());
const QString globalHeaderName = buildFileName(projectPath, projectParams.fileName.toLower() + QLatin1String(sharedHeaderPostfixC), headerSuffix());
Core::GeneratedFile globalHeader(globalHeaderName);
globalHeaderFileName = QFileInfo(globalHeader.path()).fileName();
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