Re: [Qt-creator] Compilation problem

2010-05-17 Thread Oleg Shalnev
Thanks a lot.

2010/5/17 André Pönitz 

> On Monday 17 May 2010 15:51:31 ext Oleg Shalnev wrote:
> > in  e2297e4
> >
> > make[3]: Entering directory
> `/home/ovs/soft/QtCreatorBin/src/plugins/cpptools'
> > g++ -c -m64 -pipe -g -fvisibility=hidden -fvisibility-inlines-hidden
> -Wall -W -D_REENTRANT -fPIC -DIDE_LIBRARY_BASENAME=\"lib\" -DWITH_TESTS
> -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_OPERATOR_PLUS
> -DQT_USE_FAST_CONCATENATION -DQT_NO_CAST_TO_ASCII -DCPPTOOLS_LIBRARY
> -DQT_PLUGIN -DQT_TESTLIB_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
> -I/home/ovs/usr/qt4.7/mkspecs/linux-g++-64
> -I../../../../qt-creator/src/plugins/cpptools
> -I/home/ovs/usr/qt4.7/include/QtCore -I/home/ovs/usr/qt4.7/include/QtGui
> -I/home/ovs/usr/qt4.7/include/QtTest -I/home/ovs/usr/qt4.7/include
> -I../../../../qt-creator/src/libs -I/home/ovs/soft/qt-creator/tools
> -I../../../../qt-creator/src/plugins
> -I../../../../qt-creator/src/libs/3rdparty/botan/build
> -I../../../../qt-creator/src/libs/3rdparty/net7ssh/src
> -I../../../../qt-creator/src/shared/cplusplus
> -I../../../../qt-creator/src/plugins/cpptools -I.moc/debug-shared -I.uic -I.
> -o .obj/debug-shared/cppcodecompletion.o
> ../../../../qt-creator/src/plugins/cpptools/cppcodec
>  ompletion.cpp
> > ../../../../qt-creator/src/plugins/cpptools/cppcodecompletion.cpp: In
> member function 'int
> CppTools::Internal::CppCodeCompletion::startCompletionInternal(TextEditor::BaseTextEditor*,
> QString, unsigned int, unsigned int, const QString&, int)':
> > ../../../../qt-creator/src/plugins/cpptools/cppcodecompletion.cpp:750:
> warning: 'CPlusPlus::Symbol* CPlusPlus::Document::findSymbolAt(unsigned int,
> unsigned int) const' is deprecated (declared at
> ../../../../qt-creator/src/libs/cplusplus/CppDocument.h:95)
> > ../../../../qt-creator/src/plugins/cpptools/cppcodecompletion.cpp: In
> member function 'bool
> CppTools::Internal::CppCodeCompletion::completeMember(const
> QList&, const CPlusPlus::LookupContext&)':
> > ../../../../qt-creator/src/plugins/cpptools/cppcodecompletion.cpp:1100:
> error: must #include  before using typeid
> > make[3]: *** [.obj/debug-shared/cppcodecompletion.o] Error 1
>
> This has been fixed in  56c5c8266a94fe5740839d71da59c6139e0c0c0f
> but make take a few more hours to show up in the public repo. Until
> then you can just add the #include or remove the offending line.
>
> Andre'
>
> ___
> Qt-creator mailing list
> Qt-creator@trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>



-- 
Oleg Shalnev (Kalpa Project)
--
mailto: o...@kalpa.ru
skype:  oleg_shalnev
jabber:  oleg.shal...@gmail.com
http://kalpa.ru
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Mercurial in v2 Alpha?

2010-05-17 Thread alan.westbrook
I have been trying to use the mercurial integration and have found an odd bug.

The first time you use it, it's all fine.

The second time, it forgets where the project is and defaults to the 
/Applications directory, where it cannot find the .hg naturally.

Oh, this is on Mac.

Perhaps it can be set to use the .pro file directory for the hg commands?

Alan

On Mar 12, 2010, at 7:26 AM, ext Coda Highland wrote:

> Likewise.
> 
> On Fri, Mar 12, 2010 at 8:30 AM, Robert Caldecott
>  wrote:
>> I'll put it through it's paces. :)
>> 
>> On 12 Mar 2010, at 14:26, Daniel Teske  wrote:
>> 
>>> On Friday 12 March 2010 15:18:05 ext Robert Caldecott wrote:
 I'm not in a position to try the Qt Creator v2 Preview yet but before
 I do, has support for Mercurial been added yet?  :)
>>> Yes. It's brand new so obviously feedback is welcome. (And
>>> internally we don't
>>> have mecurial repositories.)
>>> 
>>> daniel
>>> ___
>>> 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


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

2010-05-17 Thread Sam Sun
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.
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


[Qt-creator] [patch] typeid requires #include

2010-05-17 Thread Mark Brand
  Building the lastest qt-creator master branch fails for me on opensuse 
11.2:

qt-creator/src/plugins/cpptools/cppcodecompletion.cpp:1100: error: must 
#include  before using typeid
make[3]: *** [.obj/release-shared/cppcodecompletion.o] Error 1

This patch fixes it:

diff --git a/src/plugins/cpptools/cppcodecompletion.cpp 
b/src/plugins/cpptools/cppcodecompletion.cpp
index 30d7db1..d81d769 100644
--- a/src/plugins/cpptools/cppcodecompletion.cpp
+++ b/src/plugins/cpptools/cppcodecompletion.cpp
@@ -44,6 +44,7 @@
  #include 
  #include 
  #include 
+#include 

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


Re: [Qt-creator] Logo License ?

2010-05-17 Thread Robert Löhning
Hi everybody,

please bear in mind that this depends on national legislation. E.g. 
there is no "fair use" in Germany.

Robert


Hietala Nigel (Nokia-D/Oulu) schrieb:
> It is copyright Nokia, but you can use company logos in newspaper, blog, 
> educational, etc articles as it counts as fair use. Search for most companies 
> in Wikipedia and their corporate logos are shown.
> 
> - Nigel
> 
> Thanks for this big logo ;) but what is the license ?
> 
> Bonus : Do you have it in .svg ?
> 
> 
> Hi,
> 
> For the Wikipedia page you might use the following icon:
> http://qt.nokia.com/images/products/Qt_Creator_Icon_Web.png
> 
> Best regards
> 
> Carsten
> 
> -Original Message-
> From: 
> qt-creator-boun...@trolltech.com 
> [mailto:qt-creator-boun...@trolltech.com] On Behalf Of ext Dorian
> Sent: Donnerstag, 13. Mai 2010 21:41
> To: qt-creator@trolltech.com
> Subject: [Qt-creator] Logo License ?
> 
> Hello,
> 
> I would like add a nice logo in Qt Creator's Wikipedia page (i'm french)
> : http://fr.wikipedia.org/wiki/Qt_Creator
> 
> But in the russian version, the logo is under Copyright :( :
> http://ru.wikipedia.org/wiki/%D0%A4%D0%B0%D0%B9%D0%BB:QtCreator.png
> 
> So under what license is the logo ? (Why not under Creative Commons ?
> (By-Sa ?)
> 
> Thanks.
> 
> PS : Thanks too for this awesome software ;) .
> ___
> 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] Qt Creator 2.0 Beta QML Webview

2010-05-17 Thread kai.koehne
qt-creator-boun...@trolltech.com wrote:
> I have installed the beta version of Qt Creator 2.0 for linux
> but I am having trouble loading extra qml modules.  Simple
> QML files using the basic elements work but I cannot get the webview,
> video, etc.. elements working, they do not show up in the list of
> elements 
> in the gui.  If I include org.webkit 1.0 in the qml file I
> receive errors in the qml designer.  If I launch the program
> through designer it also works ok when it comes up in the qml viewer.

Hi Michael,

The Quick Designer in the Beta has indeed problems with imported plugins. The 
bug with the error showing up is actually already fixed, but we still don't 
support them fully in the Library.

Thanks for pointing this out,

Kai

> I am using Ubuntu 10.04.
> 
> Any help would be appreciated.
> 
> Thanks.
> ___
> Qt-creator mailing list
> Qt-creator@trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator



-- 
Kai K?hne
Software Engineer
Nokia, Qt Development Frameworks

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

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


Re: [Qt-creator] Compilation problem

2010-05-17 Thread André Pönitz
On Monday 17 May 2010 15:51:31 ext Oleg Shalnev wrote:
> in  e2297e4
> 
> make[3]: Entering directory `/home/ovs/soft/QtCreatorBin/src/plugins/cpptools'
> g++ -c -m64 -pipe -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W 
> -D_REENTRANT -fPIC -DIDE_LIBRARY_BASENAME=\"lib\" -DWITH_TESTS 
> -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION 
> -DQT_NO_CAST_TO_ASCII -DCPPTOOLS_LIBRARY -DQT_PLUGIN -DQT_TESTLIB_LIB 
> -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED 
> -I/home/ovs/usr/qt4.7/mkspecs/linux-g++-64 
> -I../../../../qt-creator/src/plugins/cpptools 
> -I/home/ovs/usr/qt4.7/include/QtCore -I/home/ovs/usr/qt4.7/include/QtGui 
> -I/home/ovs/usr/qt4.7/include/QtTest -I/home/ovs/usr/qt4.7/include 
> -I../../../../qt-creator/src/libs -I/home/ovs/soft/qt-creator/tools 
> -I../../../../qt-creator/src/plugins 
> -I../../../../qt-creator/src/libs/3rdparty/botan/build 
> -I../../../../qt-creator/src/libs/3rdparty/net7ssh/src 
> -I../../../../qt-creator/src/shared/cplusplus 
> -I../../../../qt-creator/src/plugins/cpptools -I.moc/debug-shared -I.uic -I. 
> -o .obj/debug-shared/cppcodecompletion.o 
> ../../../../qt-creator/src/plugins/cpptools/cppcodec
 ompletion.cpp
> ../../../../qt-creator/src/plugins/cpptools/cppcodecompletion.cpp: In member 
> function 'int 
> CppTools::Internal::CppCodeCompletion::startCompletionInternal(TextEditor::BaseTextEditor*,
>  QString, unsigned int, unsigned int, const QString&, int)':
> ../../../../qt-creator/src/plugins/cpptools/cppcodecompletion.cpp:750: 
> warning: 'CPlusPlus::Symbol* CPlusPlus::Document::findSymbolAt(unsigned int, 
> unsigned int) const' is deprecated (declared at 
> ../../../../qt-creator/src/libs/cplusplus/CppDocument.h:95)
> ../../../../qt-creator/src/plugins/cpptools/cppcodecompletion.cpp: In member 
> function 'bool CppTools::Internal::CppCodeCompletion::completeMember(const 
> QList&, const CPlusPlus::LookupContext&)':
> ../../../../qt-creator/src/plugins/cpptools/cppcodecompletion.cpp:1100: 
> error: must #include  before using typeid
> make[3]: *** [.obj/debug-shared/cppcodecompletion.o] Error 1

This has been fixed in  56c5c8266a94fe5740839d71da59c6139e0c0c0f
but make take a few more hours to show up in the public repo. Until
then you can just add the #include or remove the offending line.

Andre'

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


[Qt-creator] Compilation problem

2010-05-17 Thread Oleg Shalnev
in  e2297e4

make[3]: Entering directory
`/home/ovs/soft/QtCreatorBin/src/plugins/cpptools'
g++ -c -m64 -pipe -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall
-W -D_REENTRANT -fPIC -DIDE_LIBRARY_BASENAME=\"lib\" -DWITH_TESTS
-DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_OPERATOR_PLUS
-DQT_USE_FAST_CONCATENATION -DQT_NO_CAST_TO_ASCII -DCPPTOOLS_LIBRARY
-DQT_PLUGIN -DQT_TESTLIB_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
-I/home/ovs/usr/qt4.7/mkspecs/linux-g++-64
-I../../../../qt-creator/src/plugins/cpptools
-I/home/ovs/usr/qt4.7/include/QtCore -I/home/ovs/usr/qt4.7/include/QtGui
-I/home/ovs/usr/qt4.7/include/QtTest -I/home/ovs/usr/qt4.7/include
-I../../../../qt-creator/src/libs -I/home/ovs/soft/qt-creator/tools
-I../../../../qt-creator/src/plugins
-I../../../../qt-creator/src/libs/3rdparty/botan/build
-I../../../../qt-creator/src/libs/3rdparty/net7ssh/src
-I../../../../qt-creator/src/shared/cplusplus
-I../../../../qt-creator/src/plugins/cpptools -I.moc/debug-shared -I.uic -I.
-o .obj/debug-shared/cppcodecompletion.o
../../../../qt-creator/src/plugins/cpptools/cppcodecompletion.cpp
../../../../qt-creator/src/plugins/cpptools/cppcodecompletion.cpp: In member
function 'int
CppTools::Internal::CppCodeCompletion::startCompletionInternal(TextEditor::BaseTextEditor*,
QString, unsigned int, unsigned int, const QString&, int)':
../../../../qt-creator/src/plugins/cpptools/cppcodecompletion.cpp:750:
warning: 'CPlusPlus::Symbol* CPlusPlus::Document::findSymbolAt(unsigned int,
unsigned int) const' is deprecated (declared at
../../../../qt-creator/src/libs/cplusplus/CppDocument.h:95)
../../../../qt-creator/src/plugins/cpptools/cppcodecompletion.cpp: In member
function 'bool CppTools::Internal::CppCodeCompletion::completeMember(const
QList&, const CPlusPlus::LookupContext&)':
../../../../qt-creator/src/plugins/cpptools/cppcodecompletion.cpp:1100:
error: must #include  before using typeid
make[3]: *** [.obj/debug-shared/cppcodecompletion.o] Error 1

-- 
Oleg Shalnev (Kalpa Project)
--
mailto: o...@kalpa.ru
skype:  oleg_shalnev
jabber:  oleg.shal...@gmail.com
http://kalpa.ru
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Qt Creator for Python

2010-05-17 Thread Leandro T. C. Melo

On Tuesday 11 May 12:45:36 Poenitz Andre (Nokia-D-Qt/Berlin) wrote:
> There is no "real" Python support in Creator.
>
> However, there is some generic syntax highlighter in the works that also
> covers Python...

You can try the current work from Creator's master branch. ||The 
highlighter is based on Kate's syntax format. But please notice that no 
code folding nor Python specific indentation is supported. Also, 
Creator's set of styles is not as rich as Kate's.


The files can be downloaded at 
http://kate-editor.org/downloads/syntax_highlighting?kateversion=3.2. 
They need to placed inside 
$CREATOR_INSTALL/share/qtcreator/generic-highlighter.


Regards,
Leandro.

--
Leandro T. C. Melo
Software Engineer
Nokia, Qt Development Frameworks

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

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