[Qt-creator] Deploying multiple files to Maemo device?

2010-05-18 Thread Christoph Keller
Hello,

My project has the application, a shared library with common code and a 
plugin. QtCreator only deploys the application to the device :(

The structure is:

program (binary)
programShared (shared library)
plugins/plugin (shared library)

So is there a way to deploy all three binaries in their respective 
directories? (By setting dependencies or whatever)
Or is it even planned in the future?

Thanks,
Christoph
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] How to add txx into c++ editor suffix

2010-05-18 Thread Sam Sun
Good morning Friedemann;

Thank you very much for your reply.

I am using gcc/g++ compiler on Ubuntu 10.04, and try to generate ITK
libraries with this IDE.

Is there any special requirement in installing the attached file on Ubuntu
10.04?


Best regards,
Sam



On Tue, May 18, 2010 at 3:47 AM, Friedemann Kleint 
friedemann.kle...@nokia.com wrote:

 Hi,

  in order to customize editor for stl files with suffix, could you please
  tell me how to add suffix txx into c++ suffix through
  tools-options-c++-file naming conventions, or other methods?
 
  Thank you very much for your kind help.
 The attached patch should make Creator recognize the suffix as C++ source.
 What
 platform/compiler/STL implementation is that?

 Regards,
 Friedemann
 --
 Friedemann Kleint
 Nokia, Qt Development Frameworks

 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator


___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] How to add txx into c++ editor suffix

2010-05-18 Thread Coda Highland
You're going to have to compile Creator from source.

/s/ Adam

On Tue, May 18, 2010 at 10:51 AM, Sam Sun wxdl...@gmail.com wrote:
 Good morning Friedemann;

 Thank you very much for your reply.

 I am using gcc/g++ compiler on Ubuntu 10.04, and try to generate ITK
 libraries with this IDE.

 Is there any special requirement in installing the attached file on Ubuntu
 10.04?


 Best regards,
 Sam


 On Tue, May 18, 2010 at 3:47 AM, Friedemann Kleint
 friedemann.kle...@nokia.com wrote:

 Hi,

  in order to customize editor for stl files with suffix, could you please
  tell me how to add suffix txx into c++ suffix through
  tools-options-c++-file naming conventions, or other methods?
 
  Thank you very much for your kind help.
 The attached patch should make Creator recognize the suffix as C++ source.
 What
 platform/compiler/STL implementation is that?

 Regards,
 Friedemann
 --
 Friedemann Kleint
 Nokia, Qt Development Frameworks

 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator



 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator


___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] How to add txx into c++ editor suffix

2010-05-18 Thread daniel.molkentin
That is not strictly true. You can also patch the file (check the path in the 
diff and find it under /usr/share) by hand (you will need root permissions to 
do that). However, this is frowned upon, since it can potentially conflict with 
the package management. As a better alternative, download Qt Creator 1.3.1, 2.0 
beta or a recent snapshot (depending on how adventurous you are). It will 
install Creator into your home directory and you should be able to just apply 
the patch there.

Cheers,
  Daniel
--
Daniel Molkentin, Software Engineer,
Nokia, Qt Development Frameworks
website: http://qt.nokia.com
Rudower Chaussee 13, DE-12489 Berlin

Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B
Umsatzsteueridentifikationsnummer: DE 812 845 193
Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori

From: qt-creator-boun...@trolltech.com [qt-creator-boun...@trolltech.com] On 
Behalf Of ext Coda Highland [c...@bobandgeorge.com]
Sent: Tuesday, May 18, 2010 6:11 PM
To: qt-creator@trolltech.com
Subject: Re: [Qt-creator] How to add txx into c++ editor suffix

You're going to have to compile Creator from source.

/s/ Adam

On Tue, May 18, 2010 at 10:51 AM, Sam Sun wxdl...@gmail.com wrote:
 Good morning Friedemann;

 Thank you very much for your reply.

 I am using gcc/g++ compiler on Ubuntu 10.04, and try to generate ITK
 libraries with this IDE.

 Is there any special requirement in installing the attached file on Ubuntu
 10.04?


 Best regards,
 Sam


 On Tue, May 18, 2010 at 3:47 AM, Friedemann Kleint
 friedemann.kle...@nokia.com wrote:

 Hi,

  in order to customize editor for stl files with suffix, could you please
  tell me how to add suffix txx into c++ suffix through
  tools-options-c++-file naming conventions, or other methods?
 
  Thank you very much for your kind help.
 The attached patch should make Creator recognize the suffix as C++ source.
 What
 platform/compiler/STL implementation is that?

 Regards,
 Friedemann
 --
 Friedemann Kleint
 Nokia, Qt Development Frameworks

 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator



 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator


___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator

___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] How to add txx into c++ editor suffix

2010-05-18 Thread Sam Sun
could you please tell me what I should do with the attached file? copy into
under some directory of qt sdk or install some with it?

Thank you.

On Tue, May 18, 2010 at 3:47 AM, Friedemann Kleint 
friedemann.kle...@nokia.com wrote:

 Hi,

  in order to customize editor for stl files with suffix, could you please
  tell me how to add suffix txx into c++ suffix through
  tools-options-c++-file naming conventions, or other methods?
 
  Thank you very much for your kind help.
 The attached patch should make Creator recognize the suffix as C++ source.
 What
 platform/compiler/STL implementation is that?

 Regards,
 Friedemann
 --
 Friedemann Kleint
 Nokia, Qt Development Frameworks

 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator


___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


[Qt-creator] Fwd: How to add txx into c++ editor suffix

2010-05-18 Thread Sam Sun
I installed the Qt SDK package for Linux. because I am a newcomer on this
IDE, could you please tell me how to do it in a little bit detail?

Your kind help is greatly appreciated.

Sam

-- Forwarded message --
From: Friedemann Kleint friedemann.kle...@nokia.com
Date: Tue, May 18, 2010 at 3:47 AM
Subject: Re: [Qt-creator] How to add txx into c++ editor suffix
To: qt-creator@trolltech.com qt-creator@trolltech.com


Hi,

 in order to customize editor for stl files with suffix, could you please
 tell me how to add suffix txx into c++ suffix through
 tools-options-c++-file naming conventions, or other methods?

 Thank you very much for your kind help.
The attached patch should make Creator recognize the suffix as C++ source.
What
platform/compiler/STL implementation is that?

Regards,
Friedemann
--
Friedemann Kleint
Nokia, Qt Development Frameworks

___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator
diff --git a/src/plugins/cppeditor/CppEditor.mimetypes.xml b/src/plugins/cppeditor/CppEditor.mimetypes.xml
index c742f11..fa22dae 100644
--- a/src/plugins/cppeditor/CppEditor.mimetypes.xml
+++ b/src/plugins/cppeditor/CppEditor.mimetypes.xml
@@ -43,6 +43,7 @@
 glob pattern=*.cp/
 glob pattern=*.cc/
 glob pattern=*.cxx/
+glob pattern=*.txx/
 glob pattern=*.c++/
 glob pattern=*.C/
 glob pattern=*.inl/
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


[Qt-creator] Instability in qt-creator... anyone interested in back traces?

2010-05-18 Thread Brett Morgan
Heya guys,

I'm using qt-creator trunk for editing a QML application I am writing,
and it seems to die semi-randomly on javascript lookups. I'm wondering
if gdb generated back traces from a core file is of any interest to
the dev team?

Is there a debug build I could do to generate more meaningful crash
dump information mebbe?

-- 
Brett Morgan
http://www.google.com/profiles/brett.morgan
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Instability in qt-creator... anyone interested in back traces?

2010-05-18 Thread roberto.raggi
Sure, just post a backtrace

Ciao robe

Il giorno 19/mag/2010, alle ore 06.38, ext Brett Morgan 
brett.mor...@gmail.com 
  ha scritto:

 Heya guys,

 I'm using qt-creator trunk for editing a QML application I am writing,
 and it seems to die semi-randomly on javascript lookups. I'm wondering
 if gdb generated back traces from a core file is of any interest to
 the dev team?

 Is there a debug build I could do to generate more meaningful crash
 dump information mebbe?

 -- 
 Brett Morgan
 http://www.google.com/profiles/brett.morgan
 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator

___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Instability in qt-creator... anyone interested in back traces?

2010-05-18 Thread roberto.raggi


Il giorno 19/mag/2010, alle ore 06.38, ext Brett Morgan 
brett.mor...@gmail.com 
  ha scritto:

 Heya guys,

 I'm using qt-creator trunk for editing a QML application I am writing,
 and it seems to die semi-randomly on javascript lookups. I'm wondering
 if gdb generated back traces from a core file is of any interest to
 the dev team?

 Is there a debug build I could do to generate more meaningful crash
 dump information mebbe?

No, unfortunately we have only release builds.

Ciao robe



 -- 
 Brett Morgan
 http://www.google.com/profiles/brett.morgan
 ___
 Qt-creator mailing list
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator

___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Instability in qt-creator... anyone interested in back traces?

2010-05-18 Thread roberto.raggi
Thanks for the trace. I saw this crash before and I think I know  
what's the problem. We'll push a fix today.

Thanks for the report

Ciao robe

Il giorno 19/mag/2010, alle ore 06.57, ext Brett Morgan 
brett.mor...@gmail.com 
  ha scritto:

 Here ya go

 Core was generated by `bin/qtcreator.bin'.
 Program terminated with signal 11, Segmentation fault.
 #0  0x08a24074 in QmlJS::Interpreter::Context::lookup(QString  
 const) ()
   from /home/brett/qt-creator-build3/lib/qtcreator/plugins/ 
 Nokia/../../libQmlJS.so.1
 (gdb) bt
 #0  0x08a24074 in QmlJS::Interpreter::Context::lookup(QString  
 const) ()
   from /home/brett/qt-creator-build3/lib/qtcreator/plugins/ 
 Nokia/../../libQmlJS.so.1
 #1  0x08a1d071 in QmlJS::Evaluate::visit 
 (QmlJS::AST::IdentifierExpression*) ()
   from /home/brett/qt-creator-build3/lib/qtcreator/plugins/ 
 Nokia/../../libQmlJS.so.1
 #2  0x089f66f1 in
 QmlJS::AST::IdentifierExpression::accept0(QmlJS::AST::Visitor*) ()
   from /home/brett/qt-creator-build3/lib/qtcreator/plugins/ 
 Nokia/../../libQmlJS.so.1
 #3  0x089f655e in QmlJS::AST::Node::accept(QmlJS::AST::Visitor*) ()
   from /home/brett/qt-creator-build3/lib/qtcreator/plugins/ 
 Nokia/../../libQmlJS.so.1
 #4  0x089f65a8 in QmlJS::AST::Node::accept(QmlJS::AST::Node*,
 QmlJS::AST::Visitor*) ()
   from /home/brett/qt-creator-build3/lib/qtcreator/plugins/ 
 Nokia/../../libQmlJS.so.1
 #5  0x08a1c8c4 in QmlJS::Evaluate::accept(QmlJS::AST::Node*) ()
   from /home/brett/qt-creator-build3/lib/qtcreator/plugins/ 
 Nokia/../../libQmlJS.so.1
 #6  0x08a1c90e in QmlJS::Evaluate::reference(QmlJS::AST::Node*) ()
   from /home/brett/qt-creator-build3/lib/qtcreator/plugins/ 
 Nokia/../../libQmlJS.so.1
 #7  0x08a1c9bc in QmlJS::Evaluate::operator()(QmlJS::AST::Node*) ()
   from /home/brett/qt-creator-build3/lib/qtcreator/plugins/ 
 Nokia/../../libQmlJS.so.1
 #8  0x01b8d86c in
 QmlJSEditor::Internal::CodeCompletion::startCompletion 
 (TextEditor::ITextEditable*)
 ()
   from /home/brett/qt-creator-build3/lib/qtcreator/plugins/Nokia/ 
 libQmlJSEditor.so
 #9  0x0798857c in
 TextEditor::Internal::CompletionSupport::autoComplete_helper 
 (TextEditor::ITextEditable*,
 bool, bool) ()
   from /home/brett/qt-creator-build3/lib/qtcreator/plugins/Nokia/ 
 libTextEditor.so
 #10 0x07988be4 in
 TextEditor::Internal::CompletionSupport::autoComplete 
 (TextEditor::ITextEditable*,
 bool) ()
   from /home/brett/qt-creator-build3/lib/qtcreator/plugins/Nokia/ 
 libTextEditor.so
 #11 0x079c55d9 in
 TextEditor::Internal::CompletionSupport::qt_metacall 
 (QMetaObject::Call,
 int, void**) ()
   from /home/brett/qt-creator-build3/lib/qtcreator/plugins/Nokia/ 
 libTextEditor.so
 #12 0x004e40bb in QMetaObject::metacall (object=0xbf819efc,
 cl=InvokeMetaMethod, idx=4, argv=0xbf81a468)
at kernel/qmetaobject.cpp:237
 #13 0x004f4792 in QMetaObject::activate (sender=0xc7b88d8,
 m=0x79eb1a4, local_signal_index=5, argv=0x0)
at kernel/qobject.cpp:3272
 #14 0x079c5cef in
 TextEditor::BaseTextEditor::requestAutoCompletion 
 (TextEditor::ITextEditable*,
 bool) ()
   from /home/brett/qt-creator-build3/lib/qtcreator/plugins/Nokia/ 
 libTextEditor.so
 #15 0x0796c462 in TextEditor::BaseTextEditor::keyPressEvent 
 (QKeyEvent*) ()
   from /home/brett/qt-creator-build3/lib/qtcreator/plugins/Nokia/ 
 libTextEditor.so
 #16 0x00f109ac in QWidget::event (this=0xc7b88d8, event=0xbf81ae24) at
 kernel/qwidget.cpp:8136
 #17 0x01310e03 in QFrame::event (this=0xc7b88d8, e=0xbf81ae24) at
 widgets/qframe.cpp:557
 #18 0x013b179d in QAbstractScrollArea::event (this=0xc7b88d8,
 e=0xbf81ae24) at widgets/qabstractscrollarea.cpp:990
 #19 0x013d7312 in QPlainTextEdit::event (this=0xc7b88d8, e=0xbf81ae24)
 at widgets/qplaintextedit.cpp:1502
 #20 0x07957c72 in TextEditor::BaseTextEditor::event(QEvent*) ()
   from /home/brett/qt-creator-build3/lib/qtcreator/plugins/Nokia/ 
 libTextEditor.so
 #21 0x00eae59f in QApplicationPrivate::notify_helper (this=0x9e7a9c8,
 receiver=0xc7b88d8, e=0xbf81ae24)
at kernel/qapplication.cpp:4341
 #22 0x00eba3aa in QApplication::notify (this=0xbf81b864,
 receiver=0xc7b88d8, e=0xbf81ae24) at kernel/qapplication.cpp:3804
 #23 0x004dd62b in QCoreApplication::notifyInternal (this=0xbf81b864,
 receiver=0xc7b88d8, event=0xbf81ae24)
at kernel/qcoreapplication.cpp:719
 #24 0x00eaf0de in sendSpontaneousEvent (receiver=0xc7b88d8,  
 event=0xcd0d7f8)
at ../../include/QtCore/../../src/corelib/kernel/ 
 qcoreapplication.h:218
 #25 qt_sendSpontaneousEvent (receiver=0xc7b88d8, event=0xcd0d7f8) at
 kernel/qapplication.cpp:5330
 #26 0x00f6358f in QKeyMapper::sendKeyEvent (keyWidget=0xc7b88d8,
 grab=false, type=KeyPress, code=46, modifiers=..., text=...,
autorepeat=false, count=1, nativeScanCode=60, nativeVirtualKey=46,
 nativeModifiers=16) at kernel/qkeymapper_x11.cpp:1876
 #27 0x00f65539 in QKeyMapperPrivate::translateKeyEvent
 (this=0x9eab938, keyWidget=0xc7b88d8, event=0xbf81b4bc, grab=false)
at kernel/qkeymapper_x11.cpp:1846
 #28 0x00f3d834 in