Topic: Strange: r4773 dont build in qtdesigner, but with make

Nice to see QET developing nomicons/smile
I know trunk may break sometimes. Here is what i found now:

r4773: Build suceeds with make but fail with qtcreator with message:

/build-qelectrotech-Desktop-Debug/debug/nomenclature.o:-1: In function `nomenclature::getElementInfo(Element*)':
/qelectrotech-trunk/sources/nomenclature.cpp:146: error: undefined reference to `autonum::AssignVariables::formulaToLabel(QString, autonum::sequenceStruct&, Diagram*, Element*)'

...and similar for following rows.

Re: Strange: r4773 dont build in qtdesigner, but with make

Thanks, it compiles, clean project, run qmake and compiling again, when fail to build with qt creator.

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

3 (edited by Morganol 2016-11-11 18:58:01)

Re: Strange: r4773 dont build in qtdesigner, but with make

1) How do i clean project?

2) was thingking qtdesigner ran qmake automatically...?

3) now i did svn up so i am now on r4774, started qtdesigner and selected Build>Run qmake, and then Build>Rebuild project and it went fine, now i run 4774 in debug mode.

4) I note now that it does not crash when i quit, like it used to nomicons/smile

5) New bug thing: QET GUI used to be in english, now it is in french!
In the dialog "Configure electrotech" at bottom the settign is "Systéme" like it was before.
And even when i change to "Anglais", and restart, it is still in french!

6) ...and it displays no default elements, only my custom...?!

Update: When i compile in console with qmake and make all is OK including 5 and 6.
Now i will try to check out with svn to a fresh dir and then use that for qtdesigner... will update here after that
(I am not running svn from within qtdesigner)

Re: Strange: r4773 dont build in qtdesigner, but with make

...that brought me r4775 nomicons/smile fresh in another folder
And it compiles with qtdesigner and works in debug mode as it should nomicons/smile

Re: Strange: r4773 dont build in qtdesigner, but with make

1) How do i clean project?

In build menu -> clean project ...

https://download.qelectrotech.org/qet/forum_img/qtcreator2.png

2) was thingking qtdesigner ran qmake automatically...?

No.


3) now i did svn up so i am now on r4774, started qtdesigner and selected Build>Run qmake, and then Build>Rebuild project and it went fine, now i run 4774 in debug mode.

Revision: 4774
Author:   scorpio810
Date:     2016-11-11 15:55:30 +0100 (Fri, 11 Nov 2016)
Log Message:
-----------
Fix warnings assignvariables


4) I note now that it does not crash when i quit, like it used to 

Nice !


5) New bug thing: QET GUI used to be in english, now it is in french!
In the dialog "Configure electrotech" at bottom the settign is "Systéme" like it was before.
And even when i change to "Anglais", and restart, it is still in french!
6) ...and it displays no default elements, only my custom...?!

Check your project config and command line argument in run field !

--common-elements-dir=/home/laurent/trunk/elements --lang-dir=/home/laurent/trunk/lang  --common-tbt-dir=/home/laurent/trunk/titleblocks

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: Strange: r4773 dont build in qtdesigner, but with make

Thank you nomicons/smile