Topic: Single Line Conductor - Need more then 3.

Hi,

Under Edit single line conductor, i need to add more then 3 phases, upto 10-12 (IHC cables or corr-B) in Denmark, i made some danish symbols and would like to translate to danish too, but before that, i need to know i can use the program.

Is there a way to remove limit of 3 phases?

Thanks nomicons/smile

Re: Single Line Conductor - Need more then 3.

at the moment, no, until you create the functionality by yourself.

3 (edited by inTempo 2017-04-19 21:35:45)

Re: Single Line Conductor - Need more then 3.

Okay, i did find the place where its coded, but i cannot compile the source.

Anyone have a complete Qt and MinGW that can compile it?

I installed MinGW, and trying to install Qt gives error about w32api.h wrong version, forced it, but keep getting alot of errors on on compile.

So if anyone have a complete source (or point to working source) + Qt+MinGW setup and can pack it, would be sweet.

Would also have been sweet if it was a Visual studio project nomicons/tongue

Re: Single Line Conductor - Need more then 3.

Its the source on the source page, i downloaded Qmake 4.4.0
MinGW i downloaded the installer, and just installed everything on the normal installation page in installer

Qmake errors:

Project MESSAGE: Warning: unknown QT: widgets
Project MESSAGE: Warning: unknown QT: printsupport
Project MESSAGE: Warning: unknown QT: widgets
Project MESSAGE: Warning: unknown QT: printsupport
Project MESSAGE: Warning: unknown QT: widgets
Project MESSAGE: Warning: unknown QT: printsupport

MinGW32-make error

K:\VisualStudio\qelectrotech-0.5-src>mingw32-make
mingw32-make -f Makefile.Release
mingw32-make[1]: Entering directory 'K:/VisualStudio/qelectrotech-0.5-src'
c:\Qt\4.4.0\bin\uic.exe sources\PropertiesEditor\propertieseditordockwidget.ui -o sources\ui\ui_propertieseditordockwidget.h
c:\Qt\4.4.0\bin\uic.exe sources\richtext\addlinkdialog.ui -o sources\ui\ui_addlinkdialog.h
c:\Qt\4.4.0\bin\uic.exe sources\ui\autonumselectorwidget.ui -o sources\ui\ui_autonumselectorwidget.h
c:\Qt\4.4.0\bin\uic.exe sources\ui\borderpropertieswidget.ui -o sources\ui\ui_borderpropertieswidget.h
c:\Qt\4.4.0\bin\uic.exe sources\ui\conductorpropertiesdialog.ui -o sources\ui\ui_conductorpropertiesdialog.h
c:\Qt\4.4.0\bin\uic.exe sources\ui\conductorpropertieswidget.ui -o sources\ui\ui_conductorpropertieswidget.h
c:\Qt\4.4.0\bin\uic.exe sources\ui\diagramselection.ui -o sources\ui\ui_diagramselection.h
c:\Qt\4.4.0\bin\uic.exe sources\ui\dialogautonum.ui -o sources\ui\ui_dialogautonum.h
c:\Qt\4.4.0\bin\uic.exe sources\ui\dialogwaiting.ui -o sources\ui\ui_dialogwaiting.h
c:\Qt\4.4.0\bin\uic.exe sources\ui\elementinfopartwidget.ui -o sources\ui\ui_elementinfopartwidget.h
c:\Qt\4.4.0\bin\uic.exe sources\ui\elementinfowidget.ui -o sources\ui\ui_elementinfowidget.h
c:\Qt\4.4.0\bin\uic.exe sources\ui\elementselectorwidget.ui -o sources\ui\ui_elementselectorwidget.h
c:\Qt\4.4.0\bin\uic.exe sources\ui\imagepropertieswidget.ui -o sources\ui\ui_imagepropertieswidget.h
c:\Qt\4.4.0\bin\uic.exe sources\ui\linksingleelementwidget.ui -o sources\ui\ui_linksingleelementwidget.h
c:\Qt\4.4.0\bin\uic.exe sources\ui\masterpropertieswidget.ui -o sources\ui\ui_masterpropertieswidget.h
c:\Qt\4.4.0\bin\uic.exe sources\ui\numparteditorw.ui -o sources\ui\ui_numparteditorw.h
c:\Qt\4.4.0\bin\uic.exe sources\ui\potentialselectordialog.ui -o sources\ui\ui_potentialselectordialog.h
c:\Qt\4.4.0\bin\uic.exe sources\ui\reportpropertiewidget.ui -o sources\ui\ui_reportpropertiewidget.h
c:\Qt\4.4.0\bin\uic.exe sources\ui\selectautonumw.ui -o sources\ui\ui_selectautonumw.h
c:\Qt\4.4.0\bin\uic.exe sources\ui\shapegraphicsitempropertieswidget.ui -o sources\ui\ui_shapegraphicsitempropertieswidget.h
c:\Qt\4.4.0\bin\uic.exe sources\ui\titleblockpropertieswidget.ui -o sources\ui\ui_titleblockpropertieswidget.h
c:\Qt\4.4.0\bin\uic.exe sources\ui\xrefpropertieswidget.ui -o sources\ui\ui_xrefpropertieswidget.h
c:\Qt\4.4.0\bin\uic.exe sources\editor\ui\elementpropertieseditorwidget.ui -o sources\ui\ui_elementpropertieseditorwidget.h
g++ -c -std=c++11 -O2 -Wall -frtti -fexceptions -mthreads -DUNICODE -DQT_LARGEFILE_SUPPORT -DQET_ALLOW_OVERRIDE_CED_OPTION -DQET_ALLOW_OVERRIDE_CTBTD_OPTION -DQET_ALLOW_OVERRIDE_CD_OPTION -DQT_DLL -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\Qt\4.4.0\include\QtCore" -I"c:\Qt\4.4.0\include\QtCore" -I"c:\Qt\4.4.0\include\QtNetwork" -I"c:\Qt\4.4.0\include\QtNetwork" -I"c:\Qt\4.4.0\include\QtGui" -I"c:\Qt\4.4.0\include\QtGui" -I"c:\Qt\4.4.0\include\QtXml" -I"c:\Qt\4.4.0\include\QtXml" -I"c:\Qt\4.4.0\include\QtSql" -I"c:\Qt\4.4.0\include\QtSql" -I"c:\Qt\4.4.0\include\QtSvg" -I"c:\Qt\4.4.0\include\QtSvg" -I"c:\Qt\4.4.0\include" -I"sources" -I"sources\titleblock" -I"sources\ui" -I"sources\qetgraphicsitem" -I"sources\richtext" -I"sources\factory" -I"sources\properties" -I"sources\dvevent" -I"sources\editor" -I"sources\editor\esevent" -I"sources\editor\graphicspart" -I"sources\undocommand" -I"sources\diagramevent" -I"c:\Qt\4.4.0\include\ActiveQt" -I"release" -I"sources\ui" -I"c:\Qt\4.4.0\mkspecs\default" -o release\propertieseditordockwidget.o sources\PropertiesEditor\propertieseditordockwidget.cpp
g++ -c -std=c++11 -O2 -Wall -frtti -fexceptions -mthreads -DUNICODE -DQT_LARGEFILE_SUPPORT -DQET_ALLOW_OVERRIDE_CED_OPTION -DQET_ALLOW_OVERRIDE_CTBTD_OPTION -DQET_ALLOW_OVERRIDE_CD_OPTION -DQT_DLL -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\Qt\4.4.0\include\QtCore" -I"c:\Qt\4.4.0\include\QtCore" -I"c:\Qt\4.4.0\include\QtNetwork" -I"c:\Qt\4.4.0\include\QtNetwork" -I"c:\Qt\4.4.0\include\QtGui" -I"c:\Qt\4.4.0\include\QtGui" -I"c:\Qt\4.4.0\include\QtXml" -I"c:\Qt\4.4.0\include\QtXml" -I"c:\Qt\4.4.0\include\QtSql" -I"c:\Qt\4.4.0\include\QtSql" -I"c:\Qt\4.4.0\include\QtSvg" -I"c:\Qt\4.4.0\include\QtSvg" -I"c:\Qt\4.4.0\include" -I"sources" -I"sources\titleblock" -I"sources\ui" -I"sources\qetgraphicsitem" -I"sources\richtext" -I"sources\factory" -I"sources\properties" -I"sources\dvevent" -I"sources\editor" -I"sources\editor\esevent" -I"sources\editor\graphicspart" -I"sources\undocommand" -I"sources\diagramevent" -I"c:\Qt\4.4.0\include\ActiveQt" -I"release" -I"sources\ui" -I"c:\Qt\4.4.0\mkspecs\default" -o release\propertieseditorwidget.o sources\PropertiesEditor\propertieseditorwidget.cpp
g++ -c -std=c++11 -O2 -Wall -frtti -fexceptions -mthreads -DUNICODE -DQT_LARGEFILE_SUPPORT -DQET_ALLOW_OVERRIDE_CED_OPTION -DQET_ALLOW_OVERRIDE_CTBTD_OPTION -DQET_ALLOW_OVERRIDE_CD_OPTION -DQT_DLL -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\Qt\4.4.0\include\QtCore" -I"c:\Qt\4.4.0\include\QtCore" -I"c:\Qt\4.4.0\include\QtNetwork" -I"c:\Qt\4.4.0\include\QtNetwork" -I"c:\Qt\4.4.0\include\QtGui" -I"c:\Qt\4.4.0\include\QtGui" -I"c:\Qt\4.4.0\include\QtXml" -I"c:\Qt\4.4.0\include\QtXml" -I"c:\Qt\4.4.0\include\QtSql" -I"c:\Qt\4.4.0\include\QtSql" -I"c:\Qt\4.4.0\include\QtSvg" -I"c:\Qt\4.4.0\include\QtSvg" -I"c:\Qt\4.4.0\include" -I"sources" -I"sources\titleblock" -I"sources\ui" -I"sources\qetgraphicsitem" -I"sources\richtext" -I"sources\factory" -I"sources\properties" -I"sources\dvevent" -I"sources\editor" -I"sources\editor\esevent" -I"sources\editor\graphicspart" -I"sources\undocommand" -I"sources\diagramevent" -I"c:\Qt\4.4.0\include\ActiveQt" -I"release" -I"sources\ui" -I"c:\Qt\4.4.0\mkspecs\default" -o release\qetgraphicshandlerutility.o sources\QetGraphicsItemModeler\qetgraphicshandlerutility.cpp
In file included from sources\QetGraphicsItemModeler\qetgraphicshandlerutility.cpp:18:0:
sources\QetGraphicsItemModeler\qetgraphicshandlerutility.h:38:45: error: 'QVector' does not name a type
   void drawHandler(QPainter *painter, const QVector<QPointF> &points, bool color2 = false);
                                             ^
sources\QetGraphicsItemModeler\qetgraphicshandlerutility.h:38:52: error: expected ',' or '...' before '<' token
   void drawHandler(QPainter *painter, const QVector<QPointF> &points, bool color2 = false);
                                                    ^
sources\QetGraphicsItemModeler\qetgraphicshandlerutility.h:41:56: error: 'QVector' does not name a type
   int pointIsHoverHandler (const QPointF &point, const QVector<QPointF> &vector) const;
                                                        ^
sources\QetGraphicsItemModeler\qetgraphicshandlerutility.h:41:63: error: expected ',' or '...' before '<' token
   int pointIsHoverHandler (const QPointF &point, const QVector<QPointF> &vector) const;
                                                               ^
sources\QetGraphicsItemModeler\qetgraphicshandlerutility.h:42:3: error: 'QVector' does not name a type
   QVector<QRectF> handlerRect (const QVector<QPointF> &vector) const;
   ^
sources\QetGraphicsItemModeler\qetgraphicshandlerutility.h:50:10: error: 'QVector' does not name a type
   static QVector <QPointF> pointsForRect (const QRectF &rect);
          ^
sources\QetGraphicsItemModeler\qetgraphicshandlerutility.h:51:10: error: 'QVector' does not name a type
   static QVector <QPointF> pointsForLine (const QLineF &line);
          ^
sources\QetGraphicsItemModeler\qetgraphicshandlerutility.cpp:63:6: error: prototype for 'void QetGraphicsHandlerUtility::drawHandler(QPainter*, const QVector<QPointF>&, bool)' does not match any in class 'QetGraphicsHandlerUtility'
 void QetGraphicsHandlerUtility::drawHandler(QPainter *painter, const QVector<QPointF> &points, bool color2) {
      ^
In file included from sources\QetGraphicsItemModeler\qetgraphicshandlerutility.cpp:18:0:
sources\QetGraphicsItemModeler\qetgraphicshandlerutility.h:38:8: error: candidates are: void QetGraphicsHandlerUtility::drawHandler(QPainter*, int)
   void drawHandler(QPainter *painter, const QVector<QPointF> &points, bool color2 = false);
        ^
sources\QetGraphicsItemModeler\qetgraphicshandlerutility.cpp:37:6: error:                 void QetGraphicsHandlerUtility::drawHandler(QPainter*, const QPointF&, bool)
 void QetGraphicsHandlerUtility::drawHandler(QPainter *painter, const QPointF &point, bool color2)
      ^
sources\QetGraphicsItemModeler\qetgraphicshandlerutility.cpp:84:5: error: prototype for 'int QetGraphicsHandlerUtility::pointIsHoverHandler(const QPointF&, const QVector<QPointF>&) const' does not match any in class 'QetGraphicsHandlerUtility'
 int QetGraphicsHandlerUtility::pointIsHoverHandler(const QPointF &point, const QVector<QPointF> &vector) const
     ^
In file included from sources\QetGraphicsItemModeler\qetgraphicshandlerutility.cpp:18:0:
sources\QetGraphicsItemModeler\qetgraphicshandlerutility.h:41:7: error: candidate is: int QetGraphicsHandlerUtility::pointIsHoverHandler(const QPointF&, int) const
   int pointIsHoverHandler (const QPointF &point, const QVector<QPointF> &vector) const;
       ^
sources\QetGraphicsItemModeler\qetgraphicshandlerutility.cpp:100:88: error: no 'QVector<QRectF> QetGraphicsHandlerUtility::handlerRect(const QVector<QPointF>&) const' member function declared in class 'QetGraphicsHandlerUtility'
 QVector<QRectF> QetGraphicsHandlerUtility::handlerRect(const QVector<QPointF> &vector) const
                                                                                        ^
sources\QetGraphicsItemModeler\qetgraphicshandlerutility.cpp:136:77: error: no 'QVector<QPointF> QetGraphicsHandlerUtility::pointsForRect(const QRectF&)' member function declared in class 'QetGraphicsHandlerUtility'
 QVector<QPointF> QetGraphicsHandlerUtility::pointsForRect(const QRectF &rect)
                                                                             ^
sources\QetGraphicsItemModeler\qetgraphicshandlerutility.cpp:165:77: error: no 'QVector<QPointF> QetGraphicsHandlerUtility::pointsForLine(const QLineF&)' member function declared in class 'QetGraphicsHandlerUtility'
 QVector<QPointF> QetGraphicsHandlerUtility::pointsForLine(const QLineF &line) {
                                                                             ^
Makefile.Release:1833: recipe for target 'release/qetgraphicshandlerutility.o' failed
mingw32-make[1]: *** [release/qetgraphicshandlerutility.o] Error 1
mingw32-make[1]: Leaving directory 'K:/VisualStudio/qelectrotech-0.5-src'
Makefile:34: recipe for target 'release' failed
mingw32-make: *** [release] Error 2

Re: Single Line Conductor - Need more then 3.

Why?
Install Qt with MinGW and qt creator IDE.

FYI, you could see my documentation.
https://qelectrotech.org/wiki_new/doc/dev_windows

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

Re: Single Line Conductor - Need more then 3.

Hey! it 's only Qt5 after QET 0.4 version.

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

Re: Single Line Conductor - Need more then 3.

Would also have been sweet if it was a Visual studio project

Download Qt 5.8 or other version for visual studio and build latest QET source.
Like Qt 5.8.0 for Windows 64-bit (VS 2015, 1.0 GB) 

https://www.qt.io/download-open-source/#section-2

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

8 (edited by inTempo 2017-04-19 22:12:51)

Re: Single Line Conductor - Need more then 3.

Ah okay thanks, i followed guide here

qelectrotech.org/wiki_new/en/doc/test_dev_version

said download the file “qt-win-opensource-4.4.0-mingw.exe”.

So of course i used that, i will try with the 5.8, thank you.

Re: Single Line Conductor - Need more then 3.

Guide is very old, now I cross-compil Windows packages directly in my Debian.
Windows is very slow for this thing, Gnu/Linux is very faster.

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