diff options
author | Kent Hansen <khansen@trolltech.com> | 2009-07-09 10:38:05 +0200 |
---|---|---|
committer | Kent Hansen <khansen@trolltech.com> | 2009-07-09 10:38:05 +0200 |
commit | 5f8402ecf451c91fbc521159c3a83a0e84d740c8 (patch) | |
tree | 270b911ae21b788fbb2ffc175ad9642d75e48ec2 /generator | |
parent | 04e49d162b15d7a32d4e5837e5f5ef284ea226ba (diff) |
fix issue introduced by 04e49d162b15d7a32d4e5837e5f5ef284ea226ba
The shellimplgenerator was not updated to pass in the correct path.
This caused linker errors.
Diffstat (limited to 'generator')
-rw-r--r-- | generator/shellimplgenerator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generator/shellimplgenerator.cpp b/generator/shellimplgenerator.cpp index b468caa..38dc9d7 100644 --- a/generator/shellimplgenerator.cpp +++ b/generator/shellimplgenerator.cpp @@ -52,9 +52,9 @@ void ShellImplGenerator::write(QTextStream &s, const AbstractMetaClass *meta_cla if (FileOut::license) writeQtScriptQtBindingsLicense(s); - QString pro_file_name = meta_class->package().replace(".", "_") + "/" + meta_class->package().replace(".", "_") + ".pri"; + QString packName = meta_class->package().replace(".", "_"); - priGenerator->addSource(pro_file_name, fileNameForClass(meta_class)); + priGenerator->addSource(packName, fileNameForClass(meta_class)); s << "#include \"qtscriptshell_" << meta_class->name() << ".h\"" << endl << endl; |