Sort of new qmake test
Stephan Diederich
S.Diederich at gmx.de
Thu Sep 28 14:56:06 UTC 2006
Hi there,
as there were so many qmake-changes checked in yesterday by Andreas, I
thought I'd test it a bit. Here's what I've found out:
(attached) test project tree:
demos/
superdemo/
src/
main.cpp
src.pro (app template)
superdemo.pro (subdirs template)
libs/
a/
a.pro (lib template)
a.h
a.cpp
b/
b.pro (lib template)
b.h
b.cpp
So, here's the stuff:
- if a qmake project is imported (here superdemo), the first attempt
to build the project fails. Reason is that kdev searches qmake at
/bin/qmake. After opening the Project-Options the first time, it just
starts qmake (without /bin) and that works
- if I open the qmake-config dialog of the src-subproject, and then
change to the top-project(superdemo.pro), kdevelop crashes with the BT
attached (qmakeprojectchangecrash.log). konsole output says only Kdev
crashing.. (nothing before)
-adding subdirs to a subdir project doesn't work.
(says something about "Not allowed to create subfolder") But why
create? It's already there (tried to add lib "a" to the
superdemo.pro-subdir-template)
- after adding ../../libs/a to superproject.pro SUBDIRS by hand it works
- changing some project attributes generates way too many empty lines
in the *.pro files
- adding dependencies from one lib to another writes weired result in
the pro-file :
( I added dependency from liba -> libb gives in a.pro:)
LIBS += ../../demos/superdemo/b/libb.a
TARGETDEPS += ../../demos/superdemo/b/libb.a
Should this really go through the superdemo directory?
-adding dependecies from the app to the libs looks also a bit strange:
(opened properties of src.pro. added project-internal libs a,b)
src.pro:
LIBS += ../b/libb.a
TARGETDEPS += ../a/a ../b/libb.a
libb is added to both, while a only to one of them?!
-opening the the qmake-options of a subdir asks sometimes "Save
first?" (nothing opened before, just after start of kdevelop) (said
"Yes": crashed with attached log (save_yes.log))
HTH,
Stephan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qmakeprojectchangecrash.log
Type: text/x-log
Size: 3148 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20060928/d4e6a3eb/attachment.log>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: save_yes.log
Type: text/x-log
Size: 3495 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20060928/d4e6a3eb/attachment-0001.log>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qmaketest.tar.gz
Type: application/x-gzip
Size: 2803 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20060928/d4e6a3eb/attachment.gz>
More information about the KDevelop-devel
mailing list