Bug 62100

Summary: QMake Mangager can't create plugin projects (sources from 04.08.2003)
Product: [Applications] kdevelop Reporter: Tom Lueders <tom.lueders>
Component: Build tools: QMakeAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: git master   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Tom Lueders 2003-08-04 09:06:55 UTC
Version:            (using KDE KDE 3.1.2)
Installed from:    SuSE RPMs
Compiler:          gcc (GCC) 3.3 20030226 (prerelease) (SuSE Linux) c++
OS:          Linux

All previous as plugin defined project templates ("plugin") now are "lib" templates. Why?

My old version:
TEMPLATE = plugin
VERSION = 1.0.0
CONFIG += debug \
          warn_on \
          qt \
          thread \
          plugin 

After opening the QMake manager's configuration page ...
TEMPLATE = lib
VERSION = 1.0.0
CONFIG += debug \
          warn_on \
          qt \
          thread \
          plugin

Thanks, Tom
Comment 1 Tom Lueders 2003-08-04 09:10:21 UTC
And the "Configuration" tab of the QMake subproject configuration dialog always shows "Static 
library" when a plugin project is selected. 
 
Thanks, Tom 
Comment 2 Alexander Dymo 2003-08-04 23:51:38 UTC
Qt 3.1 documentation says that there are not "plugin" template, but only a config 
variable. So TEMPLATE = lib is correct (of course if CONFIG += plugin is stated). 
 
Comment 3 Alexander Dymo 2003-08-04 23:53:20 UTC
Subject: kdevelop/parts/trollproject

CVS commit by dymo: 

Do not check static library check box every time the project configuration dialog starts.
CCMAIL: 62100-done@bugs.kde.org


  M +1 -1      projectconfigurationdlg.cpp   1.28
  M +3 -0      projectconfigurationdlgbase.ui   1.33


--- kdevelop/parts/trollproject/projectconfigurationdlg.cpp  #1.27:1.28
@@ -779,5 +779,5 @@ void ProjectConfigurationDlg::templateLi
   {
     libGroup->setEnabled(true);
-    staticRadio->setChecked(true);
+//    staticRadio->setChecked(true);
   } else {
     libGroup->setEnabled(false);

--- kdevelop/parts/trollproject/projectconfigurationdlgbase.ui  #1.32:1.33
@@ -290,4 +290,7 @@
                                     <string>Static library</string>
                                 </property>
+                                <property name="checked">
+                                    <bool>true</bool>
+                                </property>
                             </widget>
                             <widget class="QRadioButton" row="2" column="0" rowspan="1" colspan="2">


Comment 4 Alexander Dymo 2003-08-04 23:56:32 UTC
Tom, thanks for you bug reports. Keep up this good work :)