Re: [Qt-creator] Bug reports

2010-02-02 Thread Charles N Burns
Thank you for the reply. I will file a report on the few issues which
were not a misunderstanding of my own.

Regarding #4, whitespace:

>> 4) The option [Text Editor --> Behavior --> Clean Whitespace] is very
>> useful, but it should not clean the whitespace of the currently active
>> line of text. I often save with CTRL+S, and when I do this, the
>> indentation of my current line (If otherwise blank) is lost. This can
>> be annoying when saving a lot right before adding a new line.
>
> How could it be possible to know if you intend to continue typing or not?
> If you are annoyed by that, perhaps doing it explicitly "Clean Whitespace" 
> instead of the automatic cleaning on save works out for you.
> Either invoke it from the Menu (Edit->Advanced->Clean Whitespace),
> or assign a keyboard shortcut of your liking to it 
> (Tools->Options->Environment->Keyboard, type "Clean Whitespace" as a filter 
> for the list, assign a shortcut), and use that.

What I had in mind was "Clean whitespace unless it is to the left of
the keyboard cursor."
This way, unnecessary whitespace would be removed, but it would not
require manual re-indentation of the current line of code every time
it's saved.
The remaining extra whitespace on that line, if any, could be cleaned
up when the user presses .

Best regards,
--Charles N. Burns
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] mingw32-make.exe: Interrupt/Exception caught (code = 0xc0000005, addr = 0x41f96e)

2010-02-02 Thread Laurent Desmecht

Le 2/02/2010 19:48, Matthias Pospiech a écrit :
> Laurent Desmecht schrieb:
>   
>> Hello,
>>
>> I have got a similar error after installing TortoiseGit. After
>> investigation I figure out that the installation change my PATH
>> environment variable. I modified the PATH of my build environment to
>> remove the newly added directories and this fixed the crash.
>> So I guess you should check your PATH variable first.
>>   
>> 
> My path is highly crowed with stuff from many installed programms:
>
> Path=C:\Program Files\PC Connectivity Solution\;C:\Program Files\MiKTeX 
> 2.8\mikt
> ex\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System
> 32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft SQL 
> Server\90\Tools\binn\;
> C:\Program Files\TortoiseSVN\bin;C:\Program Files\doxygen\bin;C:\Program 
> Files\C
> ommon Files\Roxio Shared\9.0\DLLShared\;C:\Program 
> Files\MATLAB\R2008a\bin;C:\Pr
> ogram Files\MATLAB\R2008a\bin\win32;C:\Program 
> Files\GnuWin32\bin;C:\Program Fil
> es\ispell;C:\Program Files\gs\gs8.63\bin;C:\Program 
> Files\gnuplot\bin;"C:\Progra
> m Files\Microsoft SDKs\Windows\v7.0\bin";"C:\Program Files\Microsoft 
> Visual Stud
> io 8\VC\bin"
>
> But I do not see what this has to do with the mingw failure, which only 
> happens if
> executed from within QtCreator.
>
> Matthias
>   
I agree with you. Your PATH is probably ok since it works from the
command line.
In the project setting, it's possible to set some custom environments
variables. Have you ever played with that ? It's maybe a good idea to
remove/rename your .user file to start from a clean project.

Laurent

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


Re: [Qt-creator] mingw32-make.exe: Interrupt/Exception caught (code = 0xc0000005, addr = 0x41f96e)

2010-02-02 Thread Matthias Pospiech
Laurent Desmecht schrieb:
> Hello,
>
> I have got a similar error after installing TortoiseGit. After
> investigation I figure out that the installation change my PATH
> environment variable. I modified the PATH of my build environment to
> remove the newly added directories and this fixed the crash.
> So I guess you should check your PATH variable first.
>   
My path is highly crowed with stuff from many installed programms:

Path=C:\Program Files\PC Connectivity Solution\;C:\Program Files\MiKTeX 
2.8\mikt
ex\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System
32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft SQL 
Server\90\Tools\binn\;
C:\Program Files\TortoiseSVN\bin;C:\Program Files\doxygen\bin;C:\Program 
Files\C
ommon Files\Roxio Shared\9.0\DLLShared\;C:\Program 
Files\MATLAB\R2008a\bin;C:\Pr
ogram Files\MATLAB\R2008a\bin\win32;C:\Program 
Files\GnuWin32\bin;C:\Program Fil
es\ispell;C:\Program Files\gs\gs8.63\bin;C:\Program 
Files\gnuplot\bin;"C:\Progra
m Files\Microsoft SDKs\Windows\v7.0\bin";"C:\Program Files\Microsoft 
Visual Stud
io 8\VC\bin"

But I do not see what this has to do with the mingw failure, which only 
happens if
executed from within QtCreator.

Matthias

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


Re: [Qt-creator] mingw32-make.exe: Interrupt/Exception caught (code = 0xc0000005, addr = 0x41f96e)

2010-02-02 Thread Matthias Pospiech
Daniel Teske schrieb:
> On Saturday 30 January 2010 16:06:55 ext Matthias Pospiech wrote:
>   
>> I get the following error on any compilation started within qtCreator
>> (1.3.1, QT 4.6.1).
>>
>> mingw32-make.exe: Interrupt/Exception caught (code = 0xc005, addr =
>> 0x41f96e)
>>
>> However if I compile the same project from the qt command prompt I have
>> no problem.
>> 
> Does it work if you start Qt Creator from that command line? Is the path to 
> the MinGW version set in the Tool/Options/Qt Dialog?
>   
It does not work if Qt Creator is started from commandline.
And the path to Mingw is set to 'C:\Qt\SDK\2010.01\mingw'

Matthias

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


Re: [Qt-creator] Updated .user-file saving mechanismn

2010-02-02 Thread Danny Price
>> 
>>> Right now when I open a project in a different platform, I need to
>>> delete .user and other make files or the project will use the build
>>> steps from the other platform.
>> 
>> I do not check in the user file into my version control system. So all 
>> my different systems have separate user files.

I'm so used to trashing those files I've almost stopped thinking about it :(

How do you set project dependencies then? I have a huge set of libraries and I 
have found Qt's 'session' system (which is based around those user files) to be 
absolutely useless because those files cannot be used across platform or even 
among teams on the same platform. 

You guys are clearly spending time polishing Creator's 'Project' screen (I see 
the layout has changed again in the master) but I cannot use it at all. I have 
to set build settings and project dependencies (where possible) in the .pro 
files.

What am I missing?

Sorry to bring up this topic again...

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


Re: [Qt-creator] Bug reports

2010-02-02 Thread Eike Ziller
Hi,

On Feb 1, 2010, at 7:05 PM, ext Charles N Burns wrote:

> I really enjoy the use of Qt Creator, and want to help how I can by
> reporting some minor bugs I've come across. Please let me know if
> these are misunderstandings on my part.

Thank you for the feedback, if you use bugreports.qt.nokia.com to report the 
issues, the chance of them being lost is reduced :)

> 1) When I add a new file with [right click --> add new], the default
> folder is not the project folder, but its containing folder. Seems
> non-intuitive.

That bug occurs if you say "add new" in the context menu of the "category" 
folders (like "Form Files", "Source Files" etc). Works if you "add new" from 
the context menu of the project node.
Actually there's a open task for that, see e.g. 
http://bugreports.qt.nokia.com/browse/QTCREATORBUG-403

> 2) In the form designer, it doesn't seem possible to drag a QLabel to
> the status bar control. This can be done in code, but then the UI
> details are divided between several files necessarily. This is more a
> feature request.
> 
> 3) In the form designer, when placing a layout [A] within another
> layout [B], it seems nearly impossible to place a control or other
> layout into [A], because [B] takes all available room. It seems more
> intuitive to me to leave some "drag to" space on both sides.

These would be requests for project "Qt" component "Designer" at 
bugreports.qt.nokia.com.
Regarding 3), actually there is some "drag space", and the place where a 
control will be added is indicated by a (red?) line. It might be that it has 
its issues though.

> 4) The option [Text Editor --> Behavior --> Clean Whitespace] is very
> useful, but it should not clean the whitespace of the currently active
> line of text. I often save with CTRL+S, and when I do this, the
> indentation of my current line (If otherwise blank) is lost. This can
> be annoying when saving a lot right before adding a new line.

How could it be possible to know if you intend to continue typing or not?
If you are annoyed by that, perhaps doing it explicitly "Clean Whitespace" 
instead of the automatic cleaning on save works out for you.
Either invoke it from the Menu (Edit->Advanced->Clean Whitespace),
or assign a keyboard shortcut of your liking to it 
(Tools->Options->Environment->Keyboard, type "Clean Whitespace" as a filter for 
the list, assign a shortcut), and use that.

> 5) When adding an existing Designer form with [right click on Forms
> --> add new], the form (which is a header file) is added as a header
> file, not as an abstracted "foo.ui".

Whatever you create, the generated file(s) are sorted into the different 
categories by file type. It is a bit confusing that you can create a .h file 
from the dialog that you get when saying "add new" from the "Form Files" 
category folder, though. If you create a "Qt Designer Form Class", three files 
will be created (.h, .cpp and .ui), which are sorted into the different 
categories (Headers, Sources, Forms).

Regards, Eike

-- 
Eike Ziller
Software Engineer
Nokia, Qt Development Frameworks

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




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


Re: [Qt-creator] Updated .user-file saving mechanismn

2010-02-02 Thread Stephen Chu
In article ,
 Stephen Chu  wrote:
> 
> How do I configure Creator to use shadow build? The help file only 
> mentions Windows CE.

Never mind. I find it. It's in Projects -> Build Settings -> General

Thanks.

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


Re: [Qt-creator] Updated .user-file saving mechanismn

2010-02-02 Thread Stephen Chu
In article <4b684c3c.6070...@nokia.com>,
 Tobias Hunger  wrote:

> On 01.02.2010 15:14, ext Stephen Chu wrote:
> > Hi
> >
> > Is there any plan on making it easier to move .user files between
> > platforms?
> 
> Platform as in different OS environments/computers? Are you using a 
> network share with different OSes?

I am working on a project that's shared between Mac and Windows. The 
project folder is in a networked share.

> 
> > Right now when I open a project in a different platform, I need to
> > delete .user and other make files or the project will use the build
> > steps from the other platform.
> 
> I do not check in the user file into my version control system. So all 
> my different systems have separate user files.
> 
> The Makefile-Situation could be mitigated by the use of shadow builds: 
> All the generated files go into a directory different from the sources. 
> No need to fiddle with all those storage locations that way.

How do I configure Creator to use shadow build? The help file only 
mentions Windows CE.

> > I changed the directories for object, UI and other temp files. But the
> > .user and make files still need to be manually cleaned.
> >
> > Any way to make this process simpler? Thanks
> 
> Not sure yet:-)

:(

Thanks for the pointers on shadow build. At least that will make things 
a little bit easier. If I can get it working, that is...

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


Re: [Qt-creator] Updated .user-file saving mechanismn

2010-02-02 Thread Tobias Hunger
On 01.02.2010 15:14, ext Stephen Chu wrote:
> Hi
>
> Is there any plan on making it easier to move .user files between
> platforms?

Platform as in different OS environments/computers? Are you using a 
network share with different OSes?

 > By that I mean building the project with Creators on
> different platforms.

The Build- and RunSettings are platform dependent: Build tools, command 
line arguments, compilers, etc. all depend heavily on the platform used. 
I am currently not aware of somebody working on abstracting this away.

> Right now when I open a project in a different platform, I need to
> delete .user and other make files or the project will use the build
> steps from the other platform.

I do not check in the user file into my version control system. So all 
my different systems have separate user files.

The Makefile-Situation could be mitigated by the use of shadow builds: 
All the generated files go into a directory different from the sources. 
No need to fiddle with all those storage locations that way.

> I changed the directories for object, UI and other temp files. But the
> .user and make files still need to be manually cleaned.
>
> Any way to make this process simpler? Thanks

Not sure yet:-)

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


Re: [Qt-creator] File uploading with USB using OBEX, preferable without PCSuite

2010-02-02 Thread Eike Ziller

Hi,

On Feb 2, 2010, at 8:45 AM, Kleint Friedemann (Nokia-D-Qt/Berlin) wrote:

> Hi,
> 
>> On Feb 2, 2010, at 4:15 AM, ext Krishna Achugatla wrote:
>> 
>> 
>> I want to start working with the Qt-Creator feature "File uploading with
>> USB using OBEX, preferable without PCSuite". Below I mention the idea of
>> my approach. Please let us know if the approach is right.
>> 
>> On the target (device) side, PC suite service supports the data transfer
>> using OBEX with USB connection. It is mentioned in the wiki of
>> "usbservices" package
>> https://developer.symbian.org/wiki/index.php/USB_Services_Package(usbservi
>> ces) (look for the PC Suite section). On the host (PC) side, PCCAPI from
>> forum nokia
>> (Nokia_PC_Connectivity_API_3.2.zip> 0f-b1a4-ef282259fb7c/PC_Suite_Connectivity_API_3.2.zip>) gives the
>> connection framework for communication with device using USB. The idea is,
>> Qt-Creator using the PCCAPI on the host, able to communicate to the device
>> and transfer the file. This way the dependency on the PC Suite application
>> on the host can be avoided.
>> 
>> Are we in the right direction or totally out of sync?.
> 
> Qt Creator currently communicates via Trk (not requiring PC suite to be 
> installed).

The only thing Qt Creator needs at the moment from PCSuite/OviSuite is the 
device driver.
Which is probably also available independently.

> In the source tree, under tests/manual/trklauncher, there is a 
> little command line tool called trklauncher that can be used to transfer 
> installation packages and install them. It should be much less work to  
> modify 
> this tool to be able to copy arbitrary files.

The advantage of using OBEX would be the faster upload though (some factor 7 or 
8 afair).
I had a look at PCCAPI and hesitated to pursue that further since it is pure 
Windows API, plain OBEX would probably be easier to port+maintain in the future.

The funny part is that if you happen to have PCSuite installed (and most 
probably running), it blocks the OBEX channel. No idea if this is different for 
the PCSuite connectivity API.

-- 
Eike Ziller
Software Engineer
Nokia, Qt Development Frameworks

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




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


Re: [Qt-creator] How to set version in tools/option

2010-02-02 Thread Eike Ziller

On Feb 1, 2010, at 7:08 PM, ext Arun wrote:

> Hi All,
> Please guide how to define version for QT Creater.

http://doc.qt.nokia.com/qtcreator-1.3/creator-version-management.html

Best regards, Eike

>  
> I get error as:
>  
> No valid Qt version set. Set one in Tools/Options
> Error while building project GUIAPP
> When executing build step 'QMake'
> Canceled build.
>  
> I use QT with minGW in windows XP.
>  
> Thanks in advance
>  
> regards,
> arun
>  
> 

-- 
Eike Ziller
Software Engineer
Nokia, Qt Development Frameworks

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




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


[Qt-creator] Doxygen Hide Plugin

2010-02-02 Thread Vincent LEFORT
Hello,

I'm using doxygen with QtCreator and i would like know if there are a plugin
to "Show/Hide" doxygen comments from our code ?

Sometimes it's more easy to read the header file without doxygen comments so
this option it's very interesting.

Thanks

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


Re: [Qt-creator] QmlProjectPlugin got a dependency to QtDeclarative (master branch)

2010-02-02 Thread Kai Koehne
ext Brian McGillion wrote:
> Hi Kai,
> 
> I have been having some trouble getting the QmlPlugin working from the
> master branch.  The steps I followed are:
> 
> [...]
>
> In creator I choose to compile the latest git version of creator against
> this 4.6.2 version of qt.  Here is the error that I am receiving.
  >
> ../../../../src/libs/qmljs/qmljsinterpreter.cpp:39:75: error:
> QtDeclarative/private/qmlgraphicsanchors_p.h: No such file or directory

Hi Brian,

The QmlDesignerPlugin right now depends on some private headers of 
QtDeclarative. Unfortunately these aren't copied by "make install".

There are two ways to work around this: Either set up Qt to be used from 
the source directory, e.g. by passing "-prefix=$PWD" to configure (you 
don't do the extra "make install" then). Or run "./bin/syncqt -outdir 
/usr/local/Trolltech/Qt-4.6.2/" after "make install", which will also 
copy the private headers into the installation directory.

We're right now looking into ways to fix this, or at least properly 
document it ;)

Regards

Kai

PS: CCing this to the mailing list so that others don't run into the 
same problems.

-- 
Kai Koehne
Software Engineer
Nokia, Qt Development Frameworks

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


Re: [Qt-creator] Compile-time signal and slot checking

2010-02-02 Thread André Pönitz
On Tuesday 02 February 2010 10:01:46 ext Danny Price wrote:
> I doubt this is possible at compile time as the connections are only made at 
> runtime. If it helps, connect() returns false if a connection fails which you 
> can use to catch with a macro.
> 
> Also this list is for the Creator IDE, not the language itself. Please post 
> these questions to qt-interest et al.

I read his mail as asking for an improvement for Qt Creator, I think that's 
pretty much in scope here. 

It might help to add feature requests to 

   bugreports.qt.nokia.com

though, as it's less likely to fall between the cracks there.

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


Re: [Qt-creator] Compile-time signal and slot checking

2010-02-02 Thread Danny Price
I doubt this is possible at compile time as the connections are only made at
runtime. If it helps, connect() returns false if a connection fails which
you can use to catch with a macro.

Also this list is for the Creator IDE, not the language itself. Please post
these questions to qt-interest et al.

On Tue, Feb 2, 2010 at 1:40 AM, John Vilburn  wrote:

> It would be very helpful if QtCreator took a pass through the code at
> compile time looking for SIGNAL() and SLOT() macros with incorrectly defined
> signals or slots. It is probably a bit much to ask of other development
> environments, but it would sure be nice if Qt Creator could do this. This is
> one error that is pretty common for me and it is a pain to wait until run
> time to catch the problem.
>
> Even better would be if some super-smart developer could figure out how to
> rewrite the SIGNAL and SLOT macros so that this type of checking would
> happen at compile time in any development environment.
>
> John
>
>
> ___
> 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