Re: [Qt-creator] gdbmucros helper add dump classes

2009-10-14 Thread Andre Poenitz
On Wed, Oct 14, 2009 at 08:06:46PM +0400, Rudenko Eugene wrote:
>> The result should look like
>>
>>  (('QList >'*)0x01234568)->queryItems()
>>
>> (assuming that you don't have configured your Qt with -qtnamespace)
>>
> Can you decode this string ? What is each part means ?
> As I can understans this means ...
> (   ("DataType name "[pointer sign]  )Address)->method();
> Is it right ?

Yes. 

Be aware of the single quotes. They are not valid in C++ but needed
to convince gdb to do the right thing.

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


Re: [Qt-creator] gdbmucros helper add dump classes

2009-10-14 Thread Rudenko Eugene


On 14.10.2009, at 20:01, Andre Poenitz wrote:


On Wed, Oct 14, 2009 at 02:59:36PM +0400, Rudenko Eugene wrote:

You'd need something like

 d.beginHash();
  d.putItem("name", "queryItems");
  d.putItemCount("value", queryItems.size());
  d.beginItem("exp");
  d.put("(('"NS"QList<"NS"QPair<"NS"QString,"NS"QString>

'*)").put(d.data).put(')')->queryItems()");

  d.endItem();
  d.putItem("type", NS"QList<"NS"QPair<"NS"QString,"NS"QString>

");

  d.putItem("numchild", queryItems.size());
d.endHash();

[Untested, the quotes in the long line are probably wrong]


Thank's for Idea, but it's not clear for me what result string is
needed for this condtruction:
d.put("(('"NS"QList<"NS"QPair<"NS"QString,"NS"QString>

'*)").put(d.data).put(')')->queryItems()");


The result should look like

 (('QList >'*)0x01234568)->queryItems()

(assuming that you don't have configured your Qt with -qtnamespace)


Can you decode this string ? What is each part means ?
As I can understans this means ...
(   ("DataType name "[pointer sign]  )Address)->method();
Is it right ?


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


Re: [Qt-creator] GUI-Suggestion

2009-10-14 Thread Andre Poenitz
On Wed, Oct 14, 2009 at 03:52:33PM +0200, Andree Günther wrote:
> Hello List,
> 
> wouldnt it be a good Idea to create a slot by - lets say - 
> double-clicking a button?

Try the item in the context menu under the somewhat misleading name
"Go to slot".

Andre'

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


Re: [Qt-creator] gdbmucros helper add dump classes

2009-10-14 Thread Andre Poenitz
On Wed, Oct 14, 2009 at 02:59:36PM +0400, Rudenko Eugene wrote:
> > You'd need something like
> >
> >   d.beginHash();
> >d.putItem("name", "queryItems");
> >d.putItemCount("value", queryItems.size());
> >d.beginItem("exp");
> >d.put("(('"NS"QList<"NS"QPair<"NS"QString,"NS"QString>  
> > >'*)").put(d.data).put(')')->queryItems()");
> >d.endItem();
> >d.putItem("type", NS"QList<"NS"QPair<"NS"QString,"NS"QString>  
> > >");
> >d.putItem("numchild", queryItems.size());
> >  d.endHash();
> >
> > [Untested, the quotes in the long line are probably wrong]
> >
> Thank's for Idea, but it's not clear for me what result string is  
> needed for this condtruction:
> d.put("(('"NS"QList<"NS"QPair<"NS"QString,"NS"QString>  
>  >'*)").put(d.data).put(')')->queryItems()");

The result should look like 
 
  (('QList >'*)0x01234568)->queryItems()

(assuming that you don't have configured your Qt with -qtnamespace)

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


Re: [Qt-creator] (no subject)

2009-10-14 Thread Jens Frederich
Hi Kris,
we are also outdated, we using Qt3. The simplest solution is - import your
project as standard makefile project.

 Jens

On Wed, Oct 14, 2009 at 2:36 PM, Kris Wong  wrote:

> > Is it possible to use Qt-creator for Qt-2.3.10 version
>
> Wow, I'm shocked and amazed there is someone using Qt 2 out there! Do
> yourself a favor my friend and think about rewriting your apps for Qt 4.
>
> -Kris Wong
>
> ___
> Qt-creator mailing list
> Qt-creator@trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>



-- 
Jens Frederich
Software Engineer
freder...@volumegraphics.com
+49-6221-73920-75
-
Volume Graphics GmbH, Firmensitz: 69123 Heidelberg, Deutschland
Geschäftsführer: Christof Reinhart, Christoph Poliwoda, Thomas Günther
Amtsgericht Heidelberg, HRB 335703, USt-ID: DE187252420
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


[Qt-creator] Feature request: Smart tabs.

2009-10-14 Thread Tim Hutt
Hi,

It would be great if Qt Creator supported 'tabs for indentation,
spaces for alignment'. Apparently also called smart tabs:
http://www.emacswiki.org/emacs/SmartTabs

Obviously you can type them out manually - I'm talking about the case
where you have a function call or if or for statement that spans
multiple lines. When you go to the new line it currently uses tabs to
roughly align the cursor with the opening bracket. The attached
screenshot shows the current and desired behaviour.

While on the topic of tabs, would it be possible to make the ->
characters always grey. Sometimes they are black (also in the
screenshot).

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


[Qt-creator] GUI-Suggestion

2009-10-14 Thread Andree Günther
Hello List,

wouldnt it be a good Idea to create a slot by - lets say - 
double-clicking a button?

I would think this is expected behaviour. It would make creating small 
tools with gui much faster
and the average newbie would not be irritated.


Andre




Materialpruefungsamt Nordrhein-Westfalen 
Marsbruchstrasse 186
D-44287 Dortmund
Telefon: +49 (231) 4502-0
Telefax: +49 (231) 458549
E-mail: i...@mpanrw.de
Internet: www.mpanrw.de
USt.-IdNr.: DE 124 728 648

Brandpruefzentrum Erwitte
Auf den Thraenen 2
D-59597 Erwitte

Telefon: +49 (2943) 897-0
Telefax: +49 (2943) 897-33
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] (no subject)

2009-10-14 Thread Kris Wong
> Is it possible to use Qt-creator for Qt-2.3.10 version

Wow, I'm shocked and amazed there is someone using Qt 2 out there! Do yourself 
a favor my friend and think about rewriting your apps for Qt 4.

-Kris Wong

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


Re: [Qt-creator] Qt Creator 1.3 Beta Released

2009-10-14 Thread Yves Bailly
Hello all,

Eike Ziller a écrit :
> We're pleased to announce that the Qt Creator 1.3 Beta is now released  
> and available for download, testing and feedback.  Qt Creator 1.3  
> improves existing features and adds new ones across the IDE, including:
> [...]
> DOWNLOAD THE BETA
> -
> The Qt Creator 1.3 Beta is available under the GNU LGPL version 2.1.  
> Source code is available from http://qt.gitorious.org/qt-creator, and  
> binary packages for Windows, Linux and Mac are available for download  
> from:
> http://qt.nokia.com/developer/qt-creator-1.3-preview.

This is all and well, downloading right now...

Now my only wish: when will there be binaries for 64bits Windows? I'm
running Vista64, building 64bits apps (because of huge needs of RAM).
And I guess more and more developers and people will switch to 64bits
in a not-so-far future. So, when will we have a last 64bits binaries?
and *real* 64bits support for Windows?

Regards,

-- 
  /- Yves Bailly - Software developper  -\
  \- Sescoi R&D  - http://www.sescoi.fr -/
"The possible is done. The impossible is being done. For miracles,
thanks to allow a little delay."

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


Re: [Qt-creator] qtcreator on OpenBSD

2009-10-14 Thread Edd Barrett
On Wed, Oct 14, 2009 at 12:39:03PM +0300, Jörg Schummer wrote:
> > Also the operating system is not happy with the libraries:
> > 
> > ---8<---
> > ire% ldd /usr/local/lib/qtcreator/plugins/Nokia/libFind.so 
> > /usr/local/lib/qtcreator/plugins/Nokia/libFind.so:
> > Cannot load specified object
> > ---8<---

Also, G++ version 4.2 makes no difference. Something odd is happening
here.

-- 
Best Regards
Edd Barrett

http://students.dec.bmth.ac.uk/ebarrett
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] gdbmucros helper add dump classes

2009-10-14 Thread Rudenko Eugene

On 08.10.2009, at 19:16, André Pönitz wrote:

> On Thursday 08 October 2009 16:47:34 ext Rudenko Eugene wrote:
>> Hello all, I wanted to add QUrl to debug helper (as practice).
>> my function looks like
>>
>> static void qDumpQUrl(QDumper &d)
>> {
>>  const QUrl &url = *reinterpret_cast(d.data);
>>  QList > queryItems = url.queryItems();
>>  d.putItem("value", url.toString());
>>  d.putItem("valueencoded", "2");
>>  d.putItem("type", NS"QUrl");
>>  d.putItem("numchild", "1");
>>  if (d.dumpChildren) {
>>  d.beginChildren();
>>  d.putHash("authority", url.authority());
>>  d.putHash("fragment", url.fragment());
>>  d.putHash("host", url.host());
>>  d.putHash("isRelative", url.isRelative());
>>  d.putHash("isValid", url.isValid());
>>  d.putHash("password", url.password());
>>  d.putHash("path", url.path());
>>  d.putHash("port", url.port());
>>  d.putHash("scheme", url.scheme());
>>  d.putHash("userInfo", url.userInfo());
>>  d.putHash("userName", url.userName());
>>  }
>>  d.disarm();
>> }
>>
>> This function works well, but i'm not understand how to add  
>> queryItems
>> to dump.
>
> You'd need something like
>
>   d.beginHash();
>d.putItem("name", "queryItems");
>d.putItemCount("value", queryItems.size());
>d.beginItem("exp");
>d.put("(('"NS"QList<"NS"QPair<"NS"QString,"NS"QString>  
> >'*)").put(d.data).put(')')->queryItems()");
>d.endItem();
>d.putItem("type", NS"QList<"NS"QPair<"NS"QString,"NS"QString>  
> >");
>d.putItem("numchild", queryItems.size());
>  d.endHash();
>
> [Untested, the quotes in the long line are probably wrong]
>
Thank's for Idea, but it's not clear for me what result string is  
needed for this condtruction:
d.put("(('"NS"QList<"NS"QPair<"NS"QString,"NS"QString>  
 >'*)").put(d.data).put(')')->queryItems()");

Please write resulting string.



>> I tried to do it via 
>> d.beginHash();
>>  d.putItem("addr", &queryItems);
>>  qDumpInnerValueHelper(d, "QList >",
>> &queryItems);
>> d.endHash();
>> but without success.
>
> Yes, this cannot work as you pass the address of the local copy  
> (queryItems)
> of the "real" list do the dumpers.  This will be invalid as soon as  
> qDumpQUrl
> is finished.

I know about this, I tried to show Idea.

Thank for help me to understand the internals of helper macros. I  
think it's very powerfull instrument and Nokia need to make good  
documentation about it.


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


[Qt-creator] Qt Creator 1.3 Beta Released

2009-10-14 Thread Eike Ziller
We're pleased to announce that the Qt Creator 1.3 Beta is now released  
and available for download, testing and feedback.  Qt Creator 1.3  
improves existing features and adds new ones across the IDE, including:

- Preliminary features for Qt development targeting the Symbian platform
- New support for source code refactoring
- Support for multi-core compilation with Microsoft Visual C++ Compiler
- Updated toolchain to MinGW 4.4

For a complete list of changes planned for Qt Creator 1.3, please  
visit the online Qt Creator repository on Gitorious at:
.

Qt Creator 1.3 is scheduled for release in Q4 2009.

PRELIMINARY SUPPORT FOR SYMBIAN DEVELOPMENT
---
Please note that the new features in Qt Creator 1.3 supporting Symbian  
development are preliminary, and not intended for production use. The  
primary aim of Qt Creator 1.3 is to allow Symbian developers to  
familiarize themselves with Qt Creator and provide feedback that will  
help us improve Symbian support in future versions of Qt Creator.   
Find out more about the new Qt port to the Symbian platform at:
http://qt.nokia.com/developer/qt-4.6-beta-for-symbian-developers.

DOWNLOAD THE BETA
-
The Qt Creator 1.3 Beta is available under the GNU LGPL version 2.1.  
Source code is available from http://qt.gitorious.org/qt-creator, and  
binary packages for Windows, Linux and Mac are available for download  
from:
http://qt.nokia.com/developer/qt-creator-1.3-preview.

HOW TO PROVIDE FEEDBACK
---
All feedback is welcome, and we encourage you to put test the Beta and  
share any bugs or suggestions.  There are several ways you can provide  
feedback:

1. Join the Qt Creator mailing list
2. Report a bug with the Qt task tracker
3. Contribute a bugfix through qt.gitorious.org

For more info on how to share your feedback, please visit 
http://qt.nokia.com/developer/qt-creator-1.3-preview 
.

Thanks, and we hope you enjoy the beta!

--
The Qt Creator Team

-- 
Eike Ziller
Software Engineer
Nokia, Qt Development Frameworks
Phone  +49 (0)30 6392 3255
Fax+49 (0)30 6392 3256
E-mail eike.zil...@nokia.com





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


Re: [Qt-creator] qtcreator on OpenBSD

2009-10-14 Thread Edd Barrett
On Wed, Oct 14, 2009 at 12:39:03PM +0300, Jörg Schummer wrote:
> > ---8<---
> > ire% ldd /usr/local/lib/qtcreator/plugins/Nokia/libFind.so 
> > /usr/local/lib/qtcreator/plugins/Nokia/libFind.so:
> > Cannot load specified object
> > ---8<---
> 
> Could it be that you (accidentally) cross-compiled for another platform
> (than where you try to use those)?

---8<---
ire% file /usr/local/lib/qtcreator/plugins/Nokia/libFind.so 
/usr/local/lib/qtcreator/plugins/Nokia/libFind.so: ELF 32-bit LSB shared
object, Intel 80386, version 1, for OpenBSD, dynamically linked, not
stripped
---8<---

Nope :\

-- 
Best Regards
Edd Barrett

http://students.dec.bmth.ac.uk/ebarrett
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] qtcreator on OpenBSD

2009-10-14 Thread Jörg Schummer
Hello,

On Wed, 2009-10-14 at 11:19 +0200, ext Edd Barrett wrote:
> On Wed, Oct 14, 2009 at 09:04:27AM +0200, Eike Ziller wrote:
> > * it is not recognized as a valid Qt plugin by the Qt Plugin Loader,  
> > which is usually the case if the library was compiled/linked against a  
> > different Qt than it is run against
> 
> Also the operating system is not happy with the libraries:
> 
> ---8<---
> ire% ldd /usr/local/lib/qtcreator/plugins/Nokia/libFind.so 
> /usr/local/lib/qtcreator/plugins/Nokia/libFind.so:
> Cannot load specified object
> ---8<---

Could it be that you (accidentally) cross-compiled for another platform
(than where you try to use those)?

Jörg


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


Re: [Qt-creator] qtcreator on OpenBSD

2009-10-14 Thread Edd Barrett
On Wed, Oct 14, 2009 at 09:04:27AM +0200, Eike Ziller wrote:
> * it is not recognized as a valid Qt plugin by the Qt Plugin Loader,  
> which is usually the case if the library was compiled/linked against a  
> different Qt than it is run against

Also the operating system is not happy with the libraries:

---8<---
ire% ldd /usr/local/lib/qtcreator/plugins/Nokia/libFind.so 
/usr/local/lib/qtcreator/plugins/Nokia/libFind.so:
Cannot load specified object
---8<---

It says this for every one of the plugins. Usually ldd output looks like
this:

---8<---
ire% ldd /usr/local/bin/zsh
/usr/local/bin/zsh:
StartEnd  Type Open Ref GrpRef Name
1c00 3c014000 exe  10   0  /usr/local/bin/zsh
0e304000 2e318000 rlib 01   0
/usr/local/lib/libpcre.so.2.3
08ddd000 28ebc000 rlib 01   0
/usr/local/lib/libiconv.so.6.0
0fc32000 2fc45000 rlib 01   0
/usr/lib/libtermcap.so.10.0
03ca2000 23cac000 rlib 01   0  /usr/lib/libm.so.5.1
00ac3000 20afc000 rlib 01   0  /usr/lib/libc.so.51.1
01a57000 01a57000 rtld 01   0  /usr/libexec/ld.so
---8<---

Not sure why this could be. I am going to try building with GCC4.

Thanks

-- 
Best Regards
Edd Barrett

http://students.dec.bmth.ac.uk/ebarrett
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] (no subject)

2009-10-14 Thread Eike Ziller
On Oct 14, 2009, at 11:06 AM, ext Ashish Vats wrote:

> Is it possible to use Qt-creator for Qt-2.3.10 version

No. Only Qt 4 ("and later") are supported.

Best regards, Eike

>
> Ashish
>
> Larsen & Toubro Limited
>
> Electrical & Electronics Division - EBG
>
> http://www.LNTEBG.com
>
>
> This E-mail may contain confidential or privileged information for  
> the intended recipient(s). If you are not the intended recipient,  
> please do not use or disseminate the information, notify the sender  
> and delete it from your system.
>
> 

-- 
Eike Ziller
Software Engineer
Nokia, Qt Development Frameworks
Phone  +49 (0)30 6392 3255
Fax+49 (0)30 6392 3256
E-mail eike.zil...@nokia.com





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


[Qt-creator] (no subject)

2009-10-14 Thread Ashish Vats
Is it possible to use Qt-creator for Qt-2.3.10 version
 
Ashish

Larsen & Toubro Limited
Electrical & Electronics Division - EBG
http://www.LNTEBG.com 

This E-mail may contain confidential or privileged information for the intended 
recipient(s). If you are not the intended recipient, please do not use or 
disseminate the information, notify the sender and delete it from your system.

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


[Qt-creator] Breakpoint Problem

2009-10-14 Thread Robert Caldecott
I am using 1.2.91 on Windows XP and am having a problem with breakpoints.

I set a breakpoint and debug my applications - it triggers and all is
well.  Each time I debug, that breakpoint works.  However, if I remove
the breakpoint and set another one, it doesn't work and *no*
breakpoints are triggered.  Only a restart of Qt Creator will fix
this.

Attached are two gdb logs.  The first is when the breakpoint works.
The second is after the first breakpoint has been removed and re-added
on the same line (which doesn't work.)

I do notice the following - when I remove a breakpoint after running
my first (successful) debugging session I see this in the log:

DELETING BP   IN C:/Documents and Settings/Robert
Caldecott/Desktop/UpgradeManager/UpgradeManager/MainWindow.cpp
dC:/Documents and Settings/Robert
Caldecott/Desktop/UpgradeManager/UpgradeManager/MainWindow.cpp15

When I add it again I see this:

Current state: 0
dNO GDB PROCESS RUNNING, CMD IGNORED: -break-insert "\"MainWindow.cpp\":15"

Any help is welcome as it's driving me nuts.
dSTATUS CHANGE: FROM  TO DebuggerProcessNotReady
dSTARTED: 0 RUNNING: 0 READY: 0
d0xbf83e00x34e98b80x34e9be02
dSTATUS CHANGE: FROM DebuggerProcessNotReady TO DebuggerProcessNotReady
dSTATUS CHANGE: FROM DebuggerProcessNotReady TO DebuggerProcessNotReady
dSTATUS CHANGE: FROM DebuggerProcessNotReady TO DebuggerProcessNotReady
dSTATUS CHANGE: FROM DebuggerProcessNotReady TO DebuggerProcessNotReady
sStarting debugger for tool chain 'MinGW'...
dDebugger settings: 
dUseAlternatingRowColours: false  (default: false)
dUseMessageBoxForSignals: true  (default: true)
dAutoQuit: false  (default: false)
dLogTimeStamps: false  (default: false)
dUseDebuggingHelper: true  (default: true)
dUseCustomDebuggingHelperLocation: false  (default: false)
dCustomDebuggingHelperLocation:   (default: )
dDebugDebuggingHelpers: false  (default: false)
dLocation: C:\Qt\2009.03\mingw\bin\gdb.exe  (default: gdb)
dEnvironment:   (default: )
dScriptFile:   (default: )
dMaximalStackDepth: 20  (default: 20)
dUseToolTips: true  (default: false)
dUseToolTipsInLocalsView: true  (default: false)
dListSourceFiles: false  (default: false)
dSkipKnownFrames: true  (default: false)
dEnableReverseDebugging: false  (default: false)
dAllPluginBreakpoints: true  (default: true)
dSelectedPluginBreakpoints: false  (default: false)
dNoPluginBreakpoints: false  (default: false)
dSelectedPluginBreakpointsPattern:   (default: .*)
dC:/Documents and Settings/Robert 
Caldecott/Desktop/UpgradeManager/UpgradeManager/debug/UpgradeManager.exe0xbf83e0
dSTATUS CHANGE: FROM DebuggerProcessNotReady TO DebuggerProcessStartingUp
dSTARTED: 0 RUNNING: 0 READY: 0
dSTATUS CHANGE: FROM DebuggerProcessStartingUp TO DebuggerInferiorStopped
dSTARTED: 1 RUNNING: 0 READY: 1
sStopped.
dAdapter state from 0 to state 1.
dTRYING TO START ADAPTER
dAdapter state from 1 to state 2.
dADAPTER SUCCESSFULLY STARTED, PREPARING INFERIOR
dAdapter state from 2 to state 4.
<1-file-exec-and-symbols "C:/Documents and Settings/Robert 
Caldecott/Desktop/UpgradeManager/UpgradeManager/debug/UpgradeManager.exe"
>~"GNU gdb 6.8\n"
>~"Copyright (C) 2008 Free Software Foundation, Inc.\n"
>~"License GPLv3+: GNU GPL version 3 or later 
>\n"
>~"This is free software: you are free to change and redistribute it.\n"
>~"There is NO WARRANTY, to the extent permitted by law.  Type \"show 
>copying\"\n"
>~"and \"show warranty\" for details.\n"
>~"This GDB was configured as \"i686-pc-mingw32\".\n"
dSTATUS CHANGE: FROM DebuggerInferiorStopped TO DebuggerInferiorStopped
sStopped.
sInferior prepared for startup.
sStart initial breakpoint setting.
>1^done
dAdapter state from 4 to state 5.
dINFERIOR PREPARED
<2show version
<3set print static-members off
<4set print inferior-events 1
<5set breakpoint pending on
<6set print elements 1
<7-data-list-register-names
<8set overload-resolution off
<9handle SIGSEGV nopass stop print
<10set unwindonsignal on
<11set width 0
<12set height 0
sCurrent state: 5
<13-break-insert "\"MainWindow.cpp\":15"
>&"show version\n"
>~"GNU gdb 6.8\n"
>~"Copyright (C) 2008 Free Software Foundation, Inc.\n"
>~"License GPLv3+: GNU GPL version 3 or later 
>\n"
>~"This is free software: you are free to change and redistribute it.\n"
>~"There is NO WARRANTY, to the extent permitted by law.  Type \"show 
>copying\"\n"
>~"and \"show warranty\" for details.\n"
>~"This GDB was configured as \"i686-pc-mingw32\".\n"
>2^done
dVERSION: 2^done,{logstreamoutput="show version\n",consolestreamoutput="GNU gdb 
6.8\nCopyright (C) 2008 Free Software Foundation, Inc.\nLicense GPLv3+: GNU GPL 
version 3 or later \nThis is free software: 
you are free to change and redistribute it.\nThere is NO WARRANTY, to the 
extent permitted by law.  Type \"show copying\"\nand \"show warranty\" for 
details.\nThis GDB was configured as \"i686-pc-mingw32\".\n"}
d
dGDB VERSION: 60800, BUILD: 0 
>&"set print sta

Re: [Qt-creator] qtcreator on OpenBSD

2009-10-14 Thread Eike Ziller

On Oct 13, 2009, at 4:44 PM, ext Edd Barrett wrote:

> On Tue, Oct 13, 2009 at 04:24:54PM +0200, Daniel Teske wrote:
>> ext Edd Barrett schrieb:
>>> Hi,
>>>
>>> I am working on a port of qtcreator to OpenBSD. I have the  
>>> application
>>> building after a couple of trivial patches:
>>>
>>> http://students.dec.bournemouth.ac.uk/ebarrett/files/patch-src_libs_extensionsystem_extensionsystem_pro
>>> http://students.dec.bournemouth.ac.uk/ebarrett/files/patch-src_libs_utils_process_stub_unix_c
>>>
>>> However, upon starting the app, file->new does nothing and nothing  
>>> is
>>> spewed onto the console.
>>>
>>> I have been examining ktrace outputs for anything obvious with no  
>>> luck.
>>> Next I would like to build a binary with debug symbols, but it  
>>> seems the
>>> documented way of adding "CONFIG += debug" to the pro does not work.
>>>
>>> I also tried various CFLAGS, CXXFLAGS and even CC kludges in the  
>>> root
>>> Makefile with no luck.
>>>
>>> a) Any ideas why file->new does not work.
>>> b) Any ideas how to make a debug binary?
>>>
>>> Thanks
>>>
>>>
>> Hmm, check Help/About Plugins for error output from the plugin  
>> loading.
>> My guess is that no plugin is loaded, though I think that should be
>> noticeable in more ways. :)
>
> You are absolutely correct! Only one plugin loads, the core one. The  
> one
> related to a new project did not load because the 'find' module did  
> not.
> Unfortunately there is little info on why this does not load:

Yeah, unfortunately the QPluginLoader spits out more or less useless  
error messages most of the time.
There are several possible reasons why this might not load, most  
prominent:
* it cannot resolve one of the libraries it wants to link with, most  
probably you can try to check with ldd what it finds, and if something  
is missing
* it is not recognized as a valid Qt plugin by the Qt Plugin Loader,  
which is usually the case if the library was compiled/linked against a  
different Qt than it is run against

> ---8<---
> Cannot load library /usr/local/lib/qtcreator/plugins/Nokia/libFind.so:
> (Cannot load specified object)
> Library base name: /usr/local/lib/qtcreator/plugins/Nokia/libFind.so
> ---8<---
>
> This exists and looks like a shared library to me:
> ---8<---
> ire% file /usr/local/lib/qtcreator/plugins/Nokia/libFind.so
> /usr/local/lib/qtcreator/plugins/Nokia/libFind.so: ELF 32-bit LSB  
> shared
> object, Intel 80386, version 1, for OpenBSD, dynamically linked, not
> stripped
> ire% ls -al /usr/local/lib/qtcreator/plugins/Nokia/libFind.so
> -rwxr-xr-x  1 root  bin  278747 Oct 13 14:08
> /usr/local/lib/qtcreator/plugins/Nokia/libFind.so
> ire% nm /usr/local/lib/qtcreator/plugins/Nokia/libFind.so
> 00029c02 t .L12
> 000299f6 t .L12
> 00029d62 t .L12
> 00029c20 t .L13
> 00029d95 t .L13
> ...
> ---8<---
>
> Odd. Perhaps you have an idea as to why this is not loading? Looks  
> like
> it worked on FreeBSD
> (http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/qtcreator/). They  
> do
> not appear to have patched the module loader.
>
> Hmm...
>
> -- 
> Best Regards
> Edd Barrett
>
> http://students.dec.bmth.ac.uk/ebarrett
> ___
> Qt-creator mailing list
> Qt-creator@trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator

-- 
Eike Ziller
Software Engineer
Nokia, Qt Development Frameworks
Phone  +49 (0)30 6392 3255
Fax+49 (0)30 6392 3256
E-mail eike.zil...@nokia.com





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