Thank you Eike!

I just build Qt Creator 1.2.90 and that fixed my problem.

FYI: I got this warning in case it is still there.

../../../share/qtcreator/gdbmacros/gdbmacros.cpp: In function
‘void<unnamed>::qDumpQAbstractItem(<unnamed>::QDumper&)’:
../../../share/qtcreator/gdbmacros/gdbmacros.cpp:1019: warning:
dereferencing type-punned pointer will break strict-aliasing rules

Thanks again!

Mentar

On Tue, Sep 29, 2009 at 1:29 AM,  <qt-creator-requ...@trolltech.com> wrote:
> Send Qt-creator mailing list submissions to
>        qt-crea...@trolltech.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.trolltech.com/mailman/listinfo/qt-creator
> or, via email, send a message with subject or body 'help' to
>        qt-creator-requ...@trolltech.com
>
> You can reach the person managing the list at
>        qt-creator-ow...@trolltech.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Qt-creator digest..."
>
>
> Today's Topics:
>
>   1. Shadow builds and project files (Mentar Mahmudi)
>   2. QtCreator 1.2.90 - standard includes are not visible      on
>      Ubuntu/MacOS (Alexander Shabanov)
>   3. Re: Customizing a Qt Project (Brian McGillion)
>   4. Re: Cleaning with custom makefile (Eike Ziller)
>   5. Re: Completion of private class structure crashing        Creator
>      (OSX) (Eike Ziller)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 28 Sep 2009 14:44:52 -0700
> From: Mentar Mahmudi <ment...@gmail.com>
> Subject: [Qt-creator] Shadow builds and project files
> To: qt-creator@trolltech.com
> Message-ID:
>        <36fef8af0909281444h794bf91aj6c7fe296f4ce6...@mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> It seems that when shadow builds are enabled the variables in the
> project files are not updated accordingly.
>
> For instance if I have my pro file in '.' and shadow builds in
> './Debug' and './Release' then INCLUDEPATH gets a '../' prepended but
> the same does not happen for LIBS or POST_TARGETDEPS or DESTDIR.
>
> Is this a bug?
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 29 Sep 2009 02:41:36 +0400
> From: Alexander Shabanov <avshaba...@gmail.com>
> Subject: [Qt-creator] QtCreator 1.2.90 - standard includes are not
>        visible on Ubuntu/MacOS
> To: qt-creator@trolltech.com
> Message-ID:
>        <43a7c3700909281541k1203f701keaf2681049dda...@mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi!
>
> I am using Qt Creator 1.2.90 on Windows (with MSVC 2008), MacOS 10.5
> and Ununtu x64.
> I have noticed, that Qt Creator is not able to find out standard
> include path on Mac OS and Ubuntu, but everything works fine for
> Windows edition. Adding /usr/include (or stuff like
> /usr/include/c++/4.3 ...) to search path in .pro file just brokes
> compilation - I think because g++  requires quite a sofisticated order
> of the include sequence.
> Thus Qt Creator assumes that standard includes is missing on these platforms.
> Is it a known issue?
> If yes, is there any way to "tell" Qt Creator that include files for
> syntax highlighting shall be searched in some particular directory
> that may not be involved in the compilation process?
> I don't wanna mess with .pro files to make QtCreator figure out where
> the system include path is.
>
> --
> Best regards,
>    Alexander Shabanov
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 29 Sep 2009 08:48:12 +0300
> From: Brian McGillion <brian.mcgill...@symbio.com>
> Subject: Re: [Qt-creator] Customizing a Qt Project
> To: qt-creator@trolltech.com
> Message-ID: <1254203292.18243.153.ca...@brianubuntu>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi,
>
> You might want to check out this project. It does exactly what you are
> looking for and it also provides control of Xephyr from creator.
>
> http://gforge.embedded.ufcg.edu.br/projects/maemo-qt-plugin/
>
>
> Br,
> Brian
>
> On Mon, 2009-09-28 at 11:30 -0300, Hallyson Melo wrote:
>> Hi Daniel,
>>
>> the general idea for this customized project is:
>>
>> 1. Create a scratchbox project wizard, so the developer can choose
>> scratchbox targets during project creation
>> 2. In project properties dialog:
>>     - Automatically create build and run steps different from current
>> qt4projectmanager (e.g /scratchbox/login qmake...")
>>     - Add options to select scratchbox targets
>>
>> '1' seems to be straightforward. '2' is the current doubt. How would
>> be the best way to do this customization? The other qt4projectmanager
>> features should remain.
>>
>> BR,
>> Hallyson
>>
>> On Mon, Sep 28, 2009 at 11:17 AM, Mateus Lima <ehpra...@gmail.com>
>> wrote:
>>         I'm trying to customize the qt project to use scratchbox. So,
>>         instead of doing make and qmake steps directly, it's necessary
>>         to run them under scratchbox. Moreover the user has to input
>>         the target that will be a project setting.
>>
>>
>>         Mateus
>>
>>
>>
>>         On Mon, Sep 28, 2009 at 7:13 AM, Daniel Teske
>>         <daniel.te...@nokia.com> wrote:
>>                 ext Mateus Lima schrieb:
>>
>>                 > Hi,
>>                 >
>>                 > I'm trying to figure out how is the best way to
>>                 create a new type of
>>                 > Qt project customizing build and run steps and
>>                 adding a new
>>                 > configuration item to the project's settings.
>>                 >
>>                 > Since I have to disable some features depending on
>>                 project's type, is
>>                 > it necessary to create a new project class and
>>                 project manager like
>>                 > qt4project and qt4projectmanager on qtplugin?
>>                 >
>>                 > Is it better to inherits these classes and add my
>>                 own build and run
>>                 > steps?
>>                 >
>>                 > Is there any way to just use qt4project manager
>>                 plugin instead but
>>                 > remain with my own project type to be able to
>>                 disable some features?
>>                 >
>>                 > Thanks in advance,
>>                 > Mateus Lima
>>
>>                 Well it would help if you would explain what you are
>>                 trying to write.
>>                 That is start with a high level description.
>>                 Be warned, the Qt4Project stuff is currently not
>>                 written in a way which
>>                 facilitates easy extensions.
>>
>>                 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
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: not available
> Type: application/pgp-signature
> Size: 197 bytes
> Desc: This is a digitally signed message part
> Url : 
> http://lists.trolltech.com/pipermail/qt-creator/attachments/20090929/ca6524ba/attachment-0001.bin
>
> ------------------------------
>
> Message: 4
> Date: Tue, 29 Sep 2009 10:15:16 +0200
> From: Eike Ziller <eike.zil...@nokia.com>
> Subject: Re: [Qt-creator] Cleaning with custom makefile
> To: "qt-creator@trolltech.com" <qt-creator@trolltech.com>
> Message-ID: <778f57b7-462c-4266-ac81-8a164c16d...@nokia.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
> On Sep 28, 2009, at 5:42 PM, ext Mentar Mahmudi wrote:
>
>> Well adding a custom 'clean' build step is not really a good solution
>> because a 'clean' step shouldn't be in my build steps.
>>
>> Now, I every time a small change is made the whole project is build
>> because everything was cleaned in the previous build beating the whole
>> point of make. Not to mention that when I say 'clean project' in the
>> drop down menu, it still says: "No Makefile found, assuming project is
>> clean."
>>
>> I feel, I didn't quite understand your solution. Is this what you
>> meant?
>
> No, but I forgot that the last official release 1.2.1 doesn't allow
> you to define separate build steps for building and cleaning.
> If you use a more recent snapshot, for example our tested technology
> snapshot 1.2.90
> (http://labs.trolltech.com/blogs/2009/09/10/qt-creator-1290-technology-snapshot/
> )
> then you are able to define what to do for "clean" separately.
> It just not possible in 1.2.1.
>
> ++ Eike
>
>
>> On Mon, Sep 28, 2009 at 3:00 AM,  <qt-creator-requ...@trolltech.com>
>> wrote:
>>> Send Qt-creator mailing list submissions to
>>>        qt-crea...@trolltech.com
>>>
>>> To subscribe or unsubscribe via the World Wide Web, visit
>>>        http://lists.trolltech.com/mailman/listinfo/qt-creator
>>> or, via email, send a message with subject or body 'help' to
>>>        qt-creator-requ...@trolltech.com
>>>
>>> You can reach the person managing the list at
>>>        qt-creator-ow...@trolltech.com
>>>
>>> When replying, please edit your Subject line so it is more specific
>>> than "Re: Contents of Qt-creator digest..."
>>>
>>>
>>> Today's Topics:
>>>
>>>   1. Re: Cleaning with custom makefile (Eike Ziller)
>>>   2. Re: Working with custom Makefiles (Eike Ziller)
>>>
>>>
>>> ----------------------------------------------------------------------
>>>
>>> Message: 1
>>> Date: Mon, 28 Sep 2009 09:55:07 +0200
>>> From: Eike Ziller <eike.zil...@nokia.com>
>>> Subject: Re: [Qt-creator] Cleaning with custom makefile
>>> To: "qt-creator@trolltech.com" <qt-creator@trolltech.com>
>>> Message-ID: <5dd22964-6acc-4154-bbc1-7b500dcde...@nokia.com>
>>> Content-Type: text/plain; charset=US-ASCII; format=flowed
>>>
>>>
>>> On Sep 26, 2009, at 3:49 AM, ext Mentar Mahmudi wrote:
>>>
>>>> What is the difference between the QMAKE_MAKEFILE and MAKEFILE
>>>> variable? So far they have acted the same way.
>>>>
>>>> When I set any of these variables, I could build in release or debug
>>>> mode by adding -f 'mymakefile' in the 'additional make arguments' in
>>>> the project options.
>>>>
>>>> However, when I try to clean the project it says: "No Makefile
>>>> found,
>>>> assuming project is clean". How do I tell Qt Creator about my custom
>>>> makefile? I don't think there is any problem with the makefile
>>>> itself
>>>> because when I say: $ make -f mymakefile clean, it does the job
>>>> neatly.
>>>
>>> You need to edit the "Clean" build steps as well (in projects mode).
>>>
>>> Best regards,
>>> --
>>> 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
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> ------------------------------
>>>
>>> Message: 2
>>> Date: Mon, 28 Sep 2009 10:44:08 +0200
>>> From: Eike Ziller <eike.zil...@nokia.com>
>>> Subject: Re: [Qt-creator] Working with custom Makefiles
>>> To: "qt-creator@trolltech.com" <qt-creator@trolltech.com>
>>> Message-ID: <8c368960-781f-472b-9314-eaae0858c...@nokia.com>
>>> Content-Type: text/plain; charset=WINDOWS-1252; format=flowed;
>>>        delsp=yes
>>>
>>> Hi,
>>>
>>> On Sep 25, 2009, at 4:58 PM, ext Psycho Man wrote:
>>>
>>>> Um, nope. The "Build issues" window is empty. Maybe if I follow the
>>>> custom build process that Sasken suggested, the compile errors might
>>>> become clickable perhaps?
>>>
>>> Note that there's a problem in Qt Creator at the moment if your
>>> build/
>>> compiler outputs messages in a different language than english. (Qt
>>> Creator looks for lines containing "error" or "warning")
>>>
>>> ++ Eike
>>>
>>>> From: "Kuiper, Luuk" <kui...@hitt.nl>
>>>> To: qt-creator@trolltech.com
>>>> Sent: Friday, September 25, 2009 4:03:41 AM
>>>> Subject: Re: [Qt-creator] Working with custom Makefiles
>>>>
>>>> Ilkaa Wrote:
>>>>
>>>>
>>>>> Additionally, I hacked my Makefile so it can be invoked directly
>>>> by qt (without the custom build script i.e.), but then compilation
>>>> errors are
>>>>> not clickable links in the "compile output" window.
>>>>
>>>>> Any help is appreciated.
>>>>
>>>>> Best,
>>>>> P
>>>>
>>>> Look in the 'Build issues' window instead. There you click on the
>>>> error and jump to the causing source code.
>>>>
>>>> Luuk Kuiper
>>>>
>>>>
>>>> From: qt-creator-boun...@trolltech.com 
>>>> [mailto:qt-creator-boun...@trolltech.com
>>>> ] On Behalf Of Ilkka Laukkanen
>>>> Sent: 25 September 2009 09:58
>>>> To: qt-creator@trolltech.com
>>>> Subject: Re: [Qt-creator] Working with custom Makefiles
>>>>
>>>> Maybe you?d be best off writing a custom qt-creator-makefile.mk that
>>>> would just call your build script and pass the parameters. Something
>>>> like
>>>>
>>>> %:
>>>> <tab>custom-build-script.sh $@
>>>>
>>>> oughta do.
>>>>
>>>> --
>>>> Ilkka Laukkanen        ilkka.laukka...@sasken.com Tel. +358 358 40
>>>> 539 3984
>>>> SW Engineer
>>>>
>>>> Sasken Finland Oy
>>>> Insin??rinkatu 41
>>>> FI-33720 Tampere
>>>> www.sasken.com www.sasken.fi
>>>>
>>>> From: qt-creator-boun...@trolltech.com 
>>>> [mailto:qt-creator-boun...@trolltech.com
>>>> ] On Behalf Of Psycho Man
>>>> Sent: 25. syyskuuta 2009 4:28
>>>> To: qt-creator@trolltech.com
>>>> Subject: [Qt-creator] Working with custom Makefiles
>>>>
>>>> Hello,
>>>>
>>>> I am a new user. Would appreciate some help with setting up a qt
>>>> project for an existing codebase that uses a build script in
>>>> essence. The build shell script uses some environment variables to
>>>> determine what to do and then invokes GNU make with the appropriate
>>>> settings. The custom build script is also used to run a test suite
>>>> that I would like to be able to debug.
>>>>
>>>> I was able to import my files into the custom makefile project, but
>>>> could not find a way to:
>>>> 1. Get a list of the environment variables (like the one that is
>>>> visible on a qt based project)
>>>> 2. Be able to invoke my build script for: building full project,
>>>> cleaning full project, running test targets.
>>>>
>>>> Additionally, I hacked my Makefile so it can be invoked directly by
>>>> qt (without the custom build script i.e.), but then compilation
>>>> errors are not clickable links in the "compile output" window.
>>>>
>>>> Any help is appreciated.
>>>>
>>>> Best,
>>>> P
>>>>
>>>> SASKEN BUSINESS DISCLAIMER
>>>> -------------------------
>>>> This message may contain confidential, proprietary or legally
>>>> privileged information. In
>>>> case you are not the original intended Recipient of the message, you
>>>> must not, directly or
>>>> indirectly, use, Disclose, distribute, print, or copy any part of
>>>> this message and you are
>>>> requested to delete it and inform the sender. Any views expressed in
>>>> this message are
>>>> those of the individual sender unless otherwise stated. Nothing
>>>> contained in this message
>>>> shall be construed as an offer or acceptance of any offer by Sasken
>>>> Communication
>>>> Technologies Limited ("Sasken") unless sent with that express intent
>>>> and with due
>>>> authority of Sasken. Sasken has taken enough precautions to prevent
>>>> the spread of
>>>> viruses. However the company accepts no liability for any damage
>>>> caused by any virus
>>>> transmitted by this
>>>>  email
>>>>
>>>> <ATT00001..txt>
>>>
>>> --
>>> 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
>>>
>>>
>>> End of Qt-creator Digest, Vol 12, Issue 62
>>> ******************************************
>>>
>>
>>
>>
>> --
>> Mentar Mahmudi
>>
>> PhD Candidate
>> Electrical Engineering and Computer Science
>> University of California, Merced
>> http://graphics.ucmerced.edu
>>
>> _______________________________________________
>> 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
>
>
>
>
>
>
>
> ------------------------------
>
> Message: 5
> Date: Tue, 29 Sep 2009 10:27:23 +0200
> From: Eike Ziller <eike.zil...@nokia.com>
> Subject: Re: [Qt-creator] Completion of private class structure
>        crashing        Creator (OSX)
> To: "qt-creator@trolltech.com" <qt-creator@trolltech.com>
> Message-ID: <de0aef7e-7228-4ecc-8953-e7e98ec6f...@nokia.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
> Hi,
>
> On Sep 28, 2009, at 9:02 PM, ext Daniel Price wrote:
>
>> The following crashes every time on OSX (Leopard) and has done so for
>> some time now (both in 1.2.1 and the latest snapshot 1.2.91 taken on
>> the 25th sep).
>>
>> .hpp file
>>
>> #ifndef MYCLASS_HPP
>> #define MYCLASS_HPP
>> class MyClass
>> {
>> struct PImpl;
>> PImpl *m_pimpl;
>> public:
>> MyClass();
>> ~MyClass();
>> };
>> #endif // MYCLASS_HPP
>>
>> .cpp file
>>
>> #include "MyClass.hpp"
>> #include <vector>
>> struct MyClass::PImpl
>> {
>> std::vector<int> data;
>> };
>> MyClass::MyClass()
>> :
>> m_pimpl(new PImpl)
>> {
>>       //// try to access m_pimpl using completion here
>>       //// m_pimpl->data CRASH
>> }
>> MyClass::~MyClass()
>> {
>> delete m_pimpl;
>> }
>>
>> Please fix! This is driving me nuts, especially since creator trashes
>> the entire session and forgets what project I had loaded.
>
> I can't reproduce this. It would be helpful if you pasted us the
> detailed information from MacOS's crash reporter.
>
> --
> 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
>
>
> End of Qt-creator Digest, Vol 12, Issue 65
> ******************************************
>



-- 
Mentar Mahmudi

PhD Candidate
Electrical Engineering and Computer Science
University of California, Merced
http://graphics.ucmerced.edu

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

Reply via email to