[Qt-creator] Collapsing problem
GreyGeek
GreyGeek at earthlink.net
Mon Nov 3 16:55:28 CET 2008
Thorbjørn Lindeijer wrote:
> ext GreyGeek wrote:
>> My bad. :-[ :-!
>>
>> Ignore the first example. The original version of the if test was
>> "if (firstPrint = true){"
>> which compiled but gave the following message:
>> "suggest parentheses around assignment used as truth value"
>> When I noticed the error, which was flagged as a "suggestion", and
>> changed it to
>> "if (firstPrint == true){"
>> the message did not reappear.
>>
>> The second problem which prevents collapsing of a function still exists.
>
> You may want to leave that out entirely, and make it
>
> "if (firstPrint) {"
>
> :-)
Duh! :-[ I use that "if (boolvar) {" syntax 23 times in the code
that snippet was taken from, which is a 5005 line app. I was so fixated
on Qt-Create's message .... what can I say?... I look stupid enough
already... :-[
BTW, while attempting to look for " == true" or "= true" in the code I
found no way of setting a search string. Just highlighting it and
trying F3 doesn't work. ??? No text box is presented to allow one to
enter what the search function is to look for.
>
>> The second problem which prevents collapsing of a function still exists.
>
> Apparently strings that are split up like that aren't supported yet,
> we'll look into it. Note that another short and valid way to write
> such a string is:
>
> persQryPrep.append(this->persinfodb);
> persQryPrep.append("SET wholename = :wholename, "
> " app_type = :app_type, "
> " hec = :hec, yoba = :yoba, "
> " yobaok = :yobaok, "
> " ms = :ms, sname = :sname "
> "WHERE proprty_id = :proprty_id AND ssn = :ssn");
>
> Regards,
> Bjørn
>
Thanks! I wasn't aware of that syntax. C++ was the last language I
learned, three years ago, when I was 64, but if it wasn't for Qt4 I
doubt I would have been good enough to use it before I retired 4 months
ago. Qt-Create is a wonderful tool and I made my replacement at work
aware of it. In my opinion it is good enough to replace Visual Studio,
which is what I used on Windows. On Linux I used Kate, but now, for my
personal projects, Qt-Create will be my tool of choice.
why does Qt-Create uses the proprietary Perforce revision control? Is
it a GPL version? Would it be possible to encorporate Baazar (bzr) in
the menu structure?
Thanks for the gentle reply, Bjørn!
GG
More information about the Qt-creator-old
mailing list