I 'm think not is an problem, I can use android tethering...like last year for sending my packages builds.
2,701 2020-12-23 17:47:29
Re: Nouveautés de la version de développement 0.8 (317 replies, posted in News)
2,702 2020-12-22 20:42:49
Re: Nouveautés de la version de développement 0.8 (317 replies, posted in News)
La fibre aura durée 5 jours ... depuis vendredi dernier plus de réseau .... Orange ne peux pas intervenir sur les équipements SFR ...
2,704 2020-12-16 13:00:38
Re: Nouveautés de la version de développement 0.8 (317 replies, posted in News)
scorpio810 wrote:Maybe try on Linux like this:
https://qelectrotech.org/forum/viewtopi … 880#p10880on linux it is no problem
but i wanted to see if it would work on windows without too many changes.
Building KF5 works in linux because it is a KDE version
but on windows, a disaster.
you essentially end up building a complete KDE and Python and Cmake and ReuseTool and Sphinx and qt and .... => it takes longer to build QET from code than to install linux on virtualbox and build it there!
You could try MXE with Digikam script like me to cross-compile QET for Windows.
git clone https://invent.kde.org/graphics/digikam.git
cd digikam/project/bundles/mxe/1) I edit config.sh script for static build, but if you found a solution for shared build work.
2 ) edit 01-build-mxe.sh
I add sqlite and -j48 for make
and delete some package
3 ) run 01-build-mxe.sh
laurent@debian:~/digikam2/project/bundles/mxe$ ./01-build-mxe.sh It may take a while, several hours depending on the power of your machine
When finish edit 02-build-extralibs.sh and remove some packages not which not compile in static mode.
Run 02-build-extralibs.sh
laurent@debian:~/digikam3/project/bundles/mxe$ ./02-build-extralibs.sh If build ok, go to
cd /project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.static/mkspecs/modules/
and copy *.pri files to /project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.static/qt5/mkspecs/modules/
Since last KF5 change libs = $$PWD/../../lib I change path in these .pri files, like :
QT.KWidgetsAddons.VERSION = 5.77.0
QT.KWidgetsAddons.MAJOR_VERSION = 5
QT.KWidgetsAddons.MINOR_VERSION = 77
QT.KWidgetsAddons.PATCH_VERSION = 0
QT.KWidgetsAddons.name = KF5WidgetsAddons
QT.KWidgetsAddons.module = KF5WidgetsAddons
QT.KWidgetsAddons.defines =
QT.KWidgetsAddons.includes = /home/laurent/digikam3/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.static/include/KF5/KWidgetsAddons
QT.KWidgetsAddons.private_includes =
QT.KWidgetsAddons.libs = /home/laurent/digikam3/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.static/lib
QT.KWidgetsAddons.depends = widgets
QT.KWidgetsAddons.module_config = staticlib
Now edit again config.sh MXE_ARCHBITS 64 to 32
run again 01-build-mxe.sh and 02-build-extralibs.sh to cross-compil 32 bits env
Go to your /project/bundles/mxe/build.win32/usr/i686-w64-mingw32.static/mkspecs/modules/
edit path in yours *.pri files like
QT.KCoreAddons.VERSION = 5.77.0
QT.KCoreAddons.MAJOR_VERSION = 5
QT.KCoreAddons.MINOR_VERSION = 77
QT.KCoreAddons.PATCH_VERSION = 0
QT.KCoreAddons.name = KF5CoreAddons
QT.KCoreAddons.module = KF5CoreAddons
QT.KCoreAddons.defines =
QT.KCoreAddons.includes = /home/laurent/digikam3/project/bundles/mxe/build.win32/usr/i686-w64-mingw32.static/include/KF5/KCoreAddons
QT.KCoreAddons.private_includes =
QT.KCoreAddons.libs = /home/laurent/digikam3/project/bundles/mxe/build.win32/usr/i686-w64-mingw32.static/lib
QT.KCoreAddons.depends = core
QT.KCoreAddons.module_config = staticlib
and copy these to /project/bundles/mxe/build.win32/usr/i686-w64-mingw32.static/qt5/mkspecs/modules/
You can now test if QET cross-compile in 64 bits
git clone --recursive https://github.com/qelectrotech/qelectrotech-source-mirror.git qet && cd qet
mkdir build && cd build
export PATH=/home/laurent/digikam3/project/bundles/mxe/build.win64/usr/bin:$PATH
/home/laurent/digikam23project/bundles/mxe/build.win64/usr/bin/x86_64-w64-mingw32.static-qmake-qt5 ../qelectrotech.pro
time make -j48For 32 bits :
rm -Rf build
mkdir build && cd build
export PATH=/home/laurent/digikam3/project/bundles/mxe/build.win32/usr/bin:$PATH
/home/laurent/digikam3/project/bundles/mxe/build.win32/usr/bin/i686-w64-mingw32.static-qmake-qt5 ../qelectrotech.pro
time make -j48If you are curious saw 03-build-digikam.sh for compile Digikam with shared libs
2,705 2020-12-15 15:50:33
Re: Cmake (10 replies, posted in Code)
[ 87%] Building CXX object CMakeFiles/qelectrotech.dir/sources/qetgraphicsitem/ViewItem/qetgraphicsheaderitem.cpp.o
[ 87%] Building CXX object CMakeFiles/qelectrotech.dir/sources/qetgraphicsitem/ViewItem/qetgraphicstableitem.cpp.o
[ 87%] Building CXX object CMakeFiles/qelectrotech.dir/sources/qetgraphicsitem/ViewItem/ui/graphicstablepropertieseditor.cpp.o
[ 87%] Building CXX object CMakeFiles/qelectrotech.dir/sources/qetgraphicsitem/ViewItem/ui/projectdbmodelpropertieswidget.cpp.o
[ 88%] Building CXX object CMakeFiles/qelectrotech.dir/sources/QetGraphicsItemModeler/qetgraphicshandleritem.cpp.o
[ 88%] Building CXX object CMakeFiles/qelectrotech.dir/sources/QetGraphicsItemModeler/qetgraphicshandlerutility.cpp.o
[ 88%] Building CXX object CMakeFiles/qelectrotech.dir/sources/QPropertyUndoCommand/qpropertyundocommand.cpp.o
[ 88%] Building CXX object CMakeFiles/qelectrotech.dir/sources/QWidgetAnimation/qwidgetanimation.cpp.o
[ 88%] Building CXX object CMakeFiles/qelectrotech.dir/sources/richtext/richtexteditor.cpp.o
[ 88%] Building CXX object CMakeFiles/qelectrotech.dir/sources/SearchAndReplace/searchandreplaceworker.cpp.o
[ 88%] Building CXX object CMakeFiles/qelectrotech.dir/sources/SearchAndReplace/ui/replaceadvanceddialog.cpp.o
[ 89%] Building CXX object CMakeFiles/qelectrotech.dir/sources/SearchAndReplace/ui/replaceconductordialog.cpp.o
[ 89%] Building CXX object CMakeFiles/qelectrotech.dir/sources/SearchAndReplace/ui/replaceelementdialog.cpp.o
[ 89%] Building CXX object CMakeFiles/qelectrotech.dir/sources/SearchAndReplace/ui/replacefoliowidget.cpp.o
[ 89%] Building CXX object CMakeFiles/qelectrotech.dir/sources/SearchAndReplace/ui/searchandreplacewidget.cpp.o
[ 89%] Building CXX object CMakeFiles/qelectrotech.dir/sources/titleblock/dimension.cpp.o
[ 89%] Building CXX object CMakeFiles/qelectrotech.dir/sources/titleblock/dimensionwidget.cpp.o
[ 89%] Building CXX object CMakeFiles/qelectrotech.dir/sources/titleblock/gridlayoutanimation.cpp.o
[ 90%] Building CXX object CMakeFiles/qelectrotech.dir/sources/titleblock/helpercell.cpp.o
[ 90%] Building CXX object CMakeFiles/qelectrotech.dir/sources/titleblock/integrationmovetemplateshandler.cpp.o
[ 90%] Building CXX object CMakeFiles/qelectrotech.dir/sources/titleblock/qettemplateeditor.cpp.o
[ 90%] Building CXX object CMakeFiles/qelectrotech.dir/sources/titleblock/splittedhelpercell.cpp.o
[ 90%] Building CXX object CMakeFiles/qelectrotech.dir/sources/titleblock/templatecellsset.cpp.o
[ 90%] Building CXX object CMakeFiles/qelectrotech.dir/sources/titleblock/templatecellwidget.cpp.o
[ 91%] Building CXX object CMakeFiles/qelectrotech.dir/sources/titleblock/templatecommands.cpp.o
[ 91%] Building CXX object CMakeFiles/qelectrotech.dir/sources/titleblock/templatedeleter.cpp.o
[ 91%] Building CXX object CMakeFiles/qelectrotech.dir/sources/titleblock/templatelocationchooser.cpp.o
[ 91%] Building CXX object CMakeFiles/qelectrotech.dir/sources/titleblock/templatelocation.cpp.o
[ 91%] Building CXX object CMakeFiles/qelectrotech.dir/sources/titleblock/templatelocationsaver.cpp.o
[ 91%] Building CXX object CMakeFiles/qelectrotech.dir/sources/titleblock/templatelogomanager.cpp.o
[ 91%] Building CXX object CMakeFiles/qelectrotech.dir/sources/titleblock/templatescollection.cpp.o
[ 92%] Building CXX object CMakeFiles/qelectrotech.dir/sources/titleblock/templateview.cpp.o
[ 92%] Building CXX object CMakeFiles/qelectrotech.dir/sources/titleblock/templatevisualcell.cpp.o
[ 92%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/aboutqetdialog.cpp.o
[ 92%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/abstractelementpropertieseditorwidget.cpp.o
[ 92%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/alignmenttextdialog.cpp.o
[ 92%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/bomexportdialog.cpp.o
[ 93%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/borderpropertieswidget.cpp.o
[ 93%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/compositetexteditdialog.cpp.o
[ 93%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/conductorpropertiesdialog.cpp.o
[ 93%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/conductorpropertieswidget.cpp.o
[ 93%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/configsaveloaderwidget.cpp.o
[ 93%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/diagramcontextwidget.cpp.o
[ 93%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/diagrampropertiesdialog.cpp.o
[ 94%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/diagrampropertieseditordockwidget.cpp.o
[ 94%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/diagramselection.cpp.o
[ 94%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/dialogwaiting.cpp.o
[ 94%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/dynamicelementtextitemeditor.cpp.o
[ 94%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/dynamicelementtextmodel.cpp.o
[ 94%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/elementinfopartwidget.cpp.o
[ 95%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/elementinfowidget.cpp.o
[ 95%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/elementpropertieswidget.cpp.o
[ 95%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/formulaassistantdialog.cpp.o
[ 95%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/imagepropertieswidget.cpp.o
[ 95%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/importelementdialog.cpp.o
[ 95%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/importelementtextpatterndialog.cpp.o
[ 95%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/inditextpropertieswidget.cpp.o
[ 96%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/linksingleelementwidget.cpp.o
[ 96%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/marginseditdialog.cpp.o
[ 96%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/masterpropertieswidget.cpp.o
[ 96%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/multipastedialog.cpp.o
[ 96%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/potentialselectordialog.cpp.o
[ 96%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/projectpropertiesdialog.cpp.o
[ 97%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/reportpropertiewidget.cpp.o
[ 97%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/shapegraphicsitempropertieswidget.cpp.o
[ 97%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/titleblockpropertieswidget.cpp.o
[ 97%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/xrefpropertieswidget.cpp.o
[ 97%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/configpage/generalconfigurationpage.cpp.o
[ 97%] Building CXX object CMakeFiles/qelectrotech.dir/sources/undocommand/addelementtextcommand.cpp.o
[ 97%] Building CXX object CMakeFiles/qelectrotech.dir/sources/undocommand/changeelementinformationcommand.cpp.o
[ 98%] Building CXX object CMakeFiles/qelectrotech.dir/sources/undocommand/changetitleblockcommand.cpp.o
[ 98%] Building CXX object CMakeFiles/qelectrotech.dir/sources/undocommand/deleteqgraphicsitemcommand.cpp.o
[ 98%] Building CXX object CMakeFiles/qelectrotech.dir/sources/undocommand/itemmodelcommand.cpp.o
[ 98%] Building CXX object CMakeFiles/qelectrotech.dir/sources/undocommand/rotateselectioncommand.cpp.o
[ 98%] Building CXX object CMakeFiles/qelectrotech.dir/sources/undocommand/linkelementcommand.cpp.o
[ 98%] Building CXX object CMakeFiles/qelectrotech.dir/sources/undocommand/rotatetextscommand.cpp.o
[ 98%] Building CXX object CMakeFiles/qelectrotech.dir/sources/utils/conductorcreator.cpp.o
[ 99%] Building CXX object CMakeFiles/qelectrotech.dir/sources/utils/macosxopenevent.cpp.o
[ 99%] Building CXX object CMakeFiles/qelectrotech.dir/sources/utils/qetutils.cpp.o
[ 99%] Building CXX object CMakeFiles/qelectrotech.dir/qelectrotech_autogen/EWIEGA46WW/qrc_qelectrotech.cpp.o
[ 99%] Linking CXX executable qelectrotech
[100%] Built target qelectrotech
real 0m28,002s
user 15m27,747s
sys 1m35,913s
2,706 2020-12-15 15:34:17
Re: Cmake (10 replies, posted in Code)
you need to install qttools5-dev-tools and qttools5-dev in order to get /usr/lib/x86_64-linux-gnu/cmake/Qt5LinguistTools/Qt5LinguistToolsConfig.cmake
cmake ..
_____________________________________________________________________
Copyright 2006 The QElectroTech Team
This file is part of QElectroTech.
QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
_____________________________________________________________________
Add sub directorie tests
.____________________________________________________________________
. PROJECT_NAME :unittests
. PROJECT_SOURCE_DIR :/media/backup6/qet/tests
. Add sub directorie catch
..___________________________________________________________________
.. PROJECT_NAME :C_unittests
.. PROJECT_SOURCE_DIR :/media/backup6/qet/tests/catch
.. QET_DIR :/media/backup6/qet
.. QET_COMPONENTS is not set !!! I set them up !!!
- qet_compilation_vars
.. QT_VERSION_MAJOR :5
- fetch_kdeaddons
-- The C compiler identification is GNU 10.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
--
Installing in /usr/local. Run /media/backup6/qet/build/_deps/kcoreaddons-build/prefix.sh to set the environment for qelectrotech.
-- Setting build type to 'Debug' as none was specified.
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Could NOT find FAM (missing: FAM_INCLUDE_DIR FAM_LIBRARIES)
CMake Warning (dev) at /usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:273 (message):
The package name passed to `find_package_handle_standard_args` (PROCSTAT)
does not match the name of the calling package (Procstat). This can lead
to problems in calling code that expects `find_package` result variables
(e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
build/_deps/kcoreaddons-src/cmake/FindProcstat.cmake:18 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
build/_deps/kcoreaddons-src/CMakeLists.txt:68 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Could NOT find PROCSTAT (missing: PROCSTAT_INCLUDE_DIR PROCSTAT_LIBRARIES)
-- Looking for include files sys/types.h, sys/mman.h
-- Looking for include files sys/types.h, sys/mman.h - found
-- Looking for getgrouplist
-- Looking for getgrouplist - found
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- At least one python version must be available to use PythonModuleGeneration.
-- Found SharedMimeInfo: /usr/bin/update-mime-database (found suitable version "2.0", minimum required is "1.3")
-- The following OPTIONAL packages have been found:
* Threads
* Inotify
Filesystem alteration notifications using inotify
* SharedMimeInfo (required version >= 1.3), A database of common MIME types, <https://freedesktop.org/wiki/Software/shared-mime-info/>
Allows KDE applications to determine file types
-- The following REQUIRED packages have been found:
* QT
* Qt5Gui (required version >= 5.15.1)
* Qt5Widgets
* Qt5Concurrent
* Qt5Xml
* Qt5Svg
* Qt5Network
* Qt5Sql
* Qt5PrintSupport
* ECM (required version >= 5.70.0), Extra CMake Modules., <https://commits.kde.org/extra-cmake-modules>
* Qt5Core
* Qt5 (required version >= 5.12.0)
* Qt5LinguistTools
-- The following features have been disabled:
* QCH, API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)
-- The following OPTIONAL packages have not been found:
* FAM, File alteration notification support via a separate service, <http://oss.sgi.com/projects/fam>
Provides file alteration notification facilities using a separate service. FAM provides additional support for NFS.
* Procstat
Process information using libprocstat
* PythonModuleGeneration
--
Installing in /usr/local. Run /media/backup6/qet/build/_deps/kwidgetsaddons-build/prefix.sh to set the environment for qelectrotech.
-- At least one python version must be available to use PythonModuleGeneration.
-- The following features have been enabled:
* DESIGNERPLUGIN, Build plugin for Qt Designer
-- The following OPTIONAL packages have been found:
* Threads
* Inotify
Filesystem alteration notifications using inotify
* SharedMimeInfo (required version >= 1.3), A database of common MIME types, <https://freedesktop.org/wiki/Software/shared-mime-info/>
Allows KDE applications to determine file types
-- The following REQUIRED packages have been found:
* QT
* Qt5Gui (required version >= 5.15.1)
* Qt5Concurrent
* Qt5Xml
* Qt5Svg
* Qt5Network
* Qt5Sql
* Qt5PrintSupport
* ECM (required version >= 5.70.0), Extra CMake Modules., <https://commits.kde.org/extra-cmake-modules>
* Qt5Widgets
* Qt5 (required version >= 5.12.0)
* Qt5Core
* Qt5LinguistTools
* Qt5UiPlugin
Required to build Qt Designer plugins
-- The following features have been disabled:
* QCH, API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)
-- The following OPTIONAL packages have not been found:
* FAM, File alteration notification support via a separate service, <http://oss.sgi.com/projects/fam>
Provides file alteration notification facilities using a separate service. FAM provides additional support for NFS.
* Procstat
Process information using libprocstat
* PythonModuleGeneration
- fetch_singleapplication
- fetch_pugixml
CMake Warning (dev) at /usr/share/cmake-3.18/Modules/CTest.cmake:50 (option):
Policy CMP0077 is not set: option() honors normal variables. Run "cmake
--help-policy CMP0077" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
For compatibility with older versions of CMake, option is clearing the
normal variable 'BUILD_TESTING'.
Call Stack (most recent call first):
build/_deps/pugixml-src/CMakeLists.txt:7 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
.. CATCH_INCLUDE_DIR is not set,assuming Catch2 can be found automatically in your system
. Add sub directorie googletest
..___________________________________________________________________
.. PROJECT_NAME :G_unittests
.. PROJECT_SOURCE_DIR :/media/backup6/qet/tests/googletest
.. QET_DIR :/media/backup6/qet
.. QET_COMPONENTS is not set !!! I set them up !!!
- qet_compilation_vars
.. QT_VERSION_MAJOR :5
-- Found PythonInterp: /usr/bin/python (found version "2.7.18")
- fetch_kdeaddons
- fetch_singleapplication
- fetch_pugixml
. Add sub directorie googlemock
..___________________________________________________________________
.. PROJECT_NAME :G_unitmocktests
.. PROJECT_SOURCE_DIR :/media/backup6/qet/tests/googlemock
.. QET_DIR :/media/backup6/qet
.. QET_COMPONENTS is not set !!! I set them up !!!
- qet_compilation_vars
.. QT_VERSION_MAJOR :5
- fetch_kdeaddons
- fetch_singleapplication
- fetch_pugixml
. Add sub directorie qttest
..___________________________________________________________________
.. PROJECT_NAME :qt_unittests
.. PROJECT_SOURCE_DIR :/media/backup6/qet/tests/qttest
.. QET_DIR :/media/backup6/qet
.. QET_COMPONENTS is not set !!! I set them up !!!
- qet_compilation_vars
.. QT_VERSION_MAJOR :5
- fetch_kdeaddons
- fetch_singleapplication
- fetch_pugixml
- paths_compilation_installation
- start_options
- developer_options
- git_update_submodules
- git_last_commit_sha
- fetch_kdeaddons
- fetch_singleapplication
- fetch_pugixml
- qet_compilation_vars
- define_definitions
Paths used for compilation and installation of QET
--------------------------------------------------
COMPIL_PREFIX /usr/local/
INSTALL_PREFIX /usr/local/
QET_BINARY_PATH bin/
QET_COMMON_COLLECTION_PATH /usr/local/share/qelectrotech/elements/
QET_COMMON_TBT_PATH /usr/local/share/qelectrotech/titleblocks/
QET_LANG_PATH /usr/local/share/qelectrotech/lang/
QET_EXAMPLES_PATH /usr/local/share/qelectrotech/examples/
QET_LICENSE_PATH doc/qelectrotech/
QET_MIME_XML_PATH ../share/mime/application/
QET_MIME_DESKTOP_PATH ../share/mimelnk/application/
QET_MIME_PACKAGE_PATH ../share/mime/packages/
QET_DESKTOP_PATH share/applications/
QET_ICONS_PATH share/icons/hicolor/
QET_MAN_PATH man/
QET_APPDATA_PATH share/appdata
ICON
--------------------------------------------------
PROJECT_NAME :qelectrotech
PROJECT_VERSION :0.8.0
PROJECT_DESCRIPTION :QET is a CAD/CAE editor focusing on schematics drawing features.
PROJECT_HOMEPAGE_URL :https://qelectrotech.org/
PROJECT_SOURCE_DIR :/media/backup6/qet
QET_DIR :/media/backup6/qet
GIT_COMMIT_SHA :7fc9d06eef67c2aa6355b23ce2468a4d2f3b6d3d
KF5_GIT_TAG :v5.70.0
QET_COMPONENTS :WidgetsConcurrentXmlSvgNetworkSqlPrintSupportLinguistTools
QT_VERSION_MAJOR :5
-- Configuring done
-- Generating done
-- Build files have been written to: /media/backup6/qet/build
2,707 2020-12-15 04:47:26
Re: Cmake (10 replies, posted in Code)
Debian unstable here,
Debian Stretch for AppImages
Debian Buster for stable backport
dd sub directorie tests
.____________________________________________________________________
. PROJECT_NAME :unittests
. PROJECT_SOURCE_DIR :/media/backup6/qet/tests
. Add sub directorie catch
..___________________________________________________________________
.. PROJECT_NAME :C_unittests
.. PROJECT_SOURCE_DIR :/media/backup6/qet/tests/catch
.. QET_DIR :/media/backup6/qet
.. QET_COMPONENTS is not set !!! I set them up !!!
- qet_compilation_vars
.. QT_VERSION_MAJOR :5
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28 (find_package):
Could not find a package configuration file provided by "Qt5LinguistTools"
with any of the following names:
Qt5LinguistToolsConfig.cmake
qt5linguisttools-config.cmake
Add the installation prefix of "Qt5LinguistTools" to CMAKE_PREFIX_PATH or
set "Qt5LinguistTools_DIR" to a directory containing one of the above
files. If "Qt5LinguistTools" provides a separate development package or
SDK, be sure it has been installed.
Call Stack (most recent call first):
tests/catch/CMakeLists.txt:56 (find_package)
2,708 2020-12-14 22:30:08
Re: Cmake (10 replies, posted in Code)
@De-Backer: try this https://qelectrotech.org/forum/viewtopic.php?id=1525
2,709 2020-12-13 21:28:29
Re: Nouveautés de la version de développement 0.8 (317 replies, posted in News)
For now I need found a solution for fix new KF5 KCoreAddons:
n file included from ../sources/diagram.h:27:0, from ../sources/conductorautonumerotation.cpp:23: ../sources/qetproject.h:31:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type #include <KAutoSaveFile> ^ compilation terminated. In file included from ../sources/diagram.h:27:0, from ../sources/diagramcontent.cpp:20: ../sources/qetproject.h:31:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type #include <KAutoSaveFile> ^ compilation terminated. In file included from ../sources/ui/titleblockpropertieswidget.h:23:0, from ../sources/configpages.h:22, from ../sources/configdialog.cpp:20: ../sources/ui/../qetproject.h:31:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type #include <KAutoSaveFile> ^ compilation terminated. In file included from ../sources/diagram.h:27:0, from ../sources/conductornumexport.cpp:20: ../sources/qetproject.h:31:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type #include <KAutoSaveFile> ^ compilation terminated. Makefile.Release:21538 : la recette pour la cible « release/conductorautonumerotation.o » a échouée make[1]: *** [release/conductorautonumerotation.o] Erreur 1 make[1]: *** Attente des tâches non terminées.... Makefile.Release:22215 : la recette pour la cible « release/configdialog.o » a échouée make[1]: *** [release/configdialog.o] Erreur 1 Makefile.Release:23212 : la recette pour la cible « release/diagramcontent.o » a échouée make[1]: *** [release/diagramcontent.o] Erreur 1 Makefile.Release:21725 : la recette pour la cible « release/conductornumexport.o » a échouée make[1]: *** [release/conductornumexport.o] Erreur 1 In file included from ../sources/diagram.h:27:0, from ../sources/diagram.cpp:18: ../sources/qetproject.h:31:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type #include <KAutoSaveFile> ^ compilation terminated. Makefile.Release:22806 : la recette pour la cible « release/diagram.o » a échouée make[1]: *** [release/diagram.o] Erreur 1 In file included from ../sources/ui/titleblockpropertieswidget.h:23:0, from ../sources/configpages.h:22, from ../sources/configpages.cpp:19: ../sources/ui/../qetproject.h:31:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type #include <KAutoSaveFile> ^ compilation terminated. Makefile.Release:22397 : la recette pour la cible « release/configpages.o » a échouée make[1]: *** [release/configpages.o] Erreur 1 In file included from ../sources/diagram.h:27:0, from ../sources/diagramcommands.h:27, from ../sources/diagramcommands.cpp:18: ../sources/qetproject.h:31:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type #include <KAutoSaveFile> ^ compilation terminated. Makefile.Release:23009 : la recette pour la cible « release/diagramcommands.o » a échouée make[1]: *** [release/diagramcommands.o] Erreur 1 In file included from ../sources/diagram.h:27:0, from ../sources/diagramcommands.h:27, from ../sources/diagramview.cpp:21: ../sources/qetproject.h:31:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type #include <KAutoSaveFile> ^ compilation terminated. Makefile.Release:23671 : la recette pour la cible « release/diagramview.o » a échouée make[1]: *** [release/diagramview.o] Erreur 1 In file included from ../sources/diagram.h:27:0, from ../sources/elementprovider.cpp:20: ../sources/qetproject.h:31:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type #include <KAutoSaveFile> ^ compilation terminated. Makefile.Release:24049 : la recette pour la cible « release/elementprovider.o » a échouée make[1]: *** [release/elementprovider.o] Erreur 1 In file included from ../sources/diagram.h:27:0, from ../sources/exportdialog.h:21, from ../sources/createdxf.cpp:23: ../sources/qetproject.h:31:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type #include <KAutoSaveFile> ^ compilation terminated. In file included from ../sources/diagram.h:27:0, from ../sources/bordertitleblock.cpp:21: ../sources/qetproject.h:31:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type #include <KAutoSaveFile> ^ compilation terminated. Makefile.Release:22575 : la recette pour la cible « release/createdxf.o » a échouée make[1]: *** [release/createdxf.o] Erreur 1 Makefile.Release:21315 : la recette pour la cible « release/bordertitleblock.o » a échouée make[1]: *** [release/bordertitleblock.o] Erreur 1 make[1]: *** wait : Aucun processus enfant. Arrêt. Makefile:42 : la recette pour la cible « release » a échouéeHmm .. fixed in the past but I don't remenber how I fixed this ..
https://qelectrotech.org/forum/viewtopi … 498#p13498
https://qelectrotech.org/forum/viewtopi … 140#p12140
2,710 2020-12-13 14:54:31
Re: Nouveautés de la version de développement 0.8 (317 replies, posted in News)
Maybe try on Linux like this:
https://qelectrotech.org/forum/viewtopi … 880#p10880
2,711 2020-12-13 13:26:51
Re: Cmake (10 replies, posted in Code)
Maybe seems useful to integrate qt translations without import manually all Qt translations in packages.
2,712 2020-12-13 13:08:41
Re: Nouveautés de la version de développement 0.8 (317 replies, posted in News)
Is 's run with KF5 5.70 and I use qmake
Same issue now on AppImage I have updated to Qt 5.15.2 yesterday with latest KF5 5.77.
2,713 2020-12-13 03:04:05
Re: Nouveautés de la version de développement 0.8 (317 replies, posted in News)
For now I need found a solution for fix new KF5 KCoreAddons:
n file included from ../sources/diagram.h:27:0,
from ../sources/conductorautonumerotation.cpp:23:
../sources/qetproject.h:31:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type
#include <KAutoSaveFile>
^
compilation terminated.
In file included from ../sources/diagram.h:27:0,
from ../sources/diagramcontent.cpp:20:
../sources/qetproject.h:31:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type
#include <KAutoSaveFile>
^
compilation terminated.
In file included from ../sources/ui/titleblockpropertieswidget.h:23:0,
from ../sources/configpages.h:22,
from ../sources/configdialog.cpp:20:
../sources/ui/../qetproject.h:31:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type
#include <KAutoSaveFile>
^
compilation terminated.
In file included from ../sources/diagram.h:27:0,
from ../sources/conductornumexport.cpp:20:
../sources/qetproject.h:31:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type
#include <KAutoSaveFile>
^
compilation terminated.
Makefile.Release:21538 : la recette pour la cible « release/conductorautonumerotation.o » a échouée
make[1]: *** [release/conductorautonumerotation.o] Erreur 1
make[1]: *** Attente des tâches non terminées....
Makefile.Release:22215 : la recette pour la cible « release/configdialog.o » a échouée
make[1]: *** [release/configdialog.o] Erreur 1
Makefile.Release:23212 : la recette pour la cible « release/diagramcontent.o » a échouée
make[1]: *** [release/diagramcontent.o] Erreur 1
Makefile.Release:21725 : la recette pour la cible « release/conductornumexport.o » a échouée
make[1]: *** [release/conductornumexport.o] Erreur 1
In file included from ../sources/diagram.h:27:0,
from ../sources/diagram.cpp:18:
../sources/qetproject.h:31:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type
#include <KAutoSaveFile>
^
compilation terminated.
Makefile.Release:22806 : la recette pour la cible « release/diagram.o » a échouée
make[1]: *** [release/diagram.o] Erreur 1
In file included from ../sources/ui/titleblockpropertieswidget.h:23:0,
from ../sources/configpages.h:22,
from ../sources/configpages.cpp:19:
../sources/ui/../qetproject.h:31:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type
#include <KAutoSaveFile>
^
compilation terminated.
Makefile.Release:22397 : la recette pour la cible « release/configpages.o » a échouée
make[1]: *** [release/configpages.o] Erreur 1
In file included from ../sources/diagram.h:27:0,
from ../sources/diagramcommands.h:27,
from ../sources/diagramcommands.cpp:18:
../sources/qetproject.h:31:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type
#include <KAutoSaveFile>
^
compilation terminated.
Makefile.Release:23009 : la recette pour la cible « release/diagramcommands.o » a échouée
make[1]: *** [release/diagramcommands.o] Erreur 1
In file included from ../sources/diagram.h:27:0,
from ../sources/diagramcommands.h:27,
from ../sources/diagramview.cpp:21:
../sources/qetproject.h:31:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type
#include <KAutoSaveFile>
^
compilation terminated.
Makefile.Release:23671 : la recette pour la cible « release/diagramview.o » a échouée
make[1]: *** [release/diagramview.o] Erreur 1
In file included from ../sources/diagram.h:27:0,
from ../sources/elementprovider.cpp:20:
../sources/qetproject.h:31:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type
#include <KAutoSaveFile>
^
compilation terminated.
Makefile.Release:24049 : la recette pour la cible « release/elementprovider.o » a échouée
make[1]: *** [release/elementprovider.o] Erreur 1
In file included from ../sources/diagram.h:27:0,
from ../sources/exportdialog.h:21,
from ../sources/createdxf.cpp:23:
../sources/qetproject.h:31:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type
#include <KAutoSaveFile>
^
compilation terminated.
In file included from ../sources/diagram.h:27:0,
from ../sources/bordertitleblock.cpp:21:
../sources/qetproject.h:31:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type
#include <KAutoSaveFile>
^
compilation terminated.
Makefile.Release:22575 : la recette pour la cible « release/createdxf.o » a échouée
make[1]: *** [release/createdxf.o] Erreur 1
Makefile.Release:21315 : la recette pour la cible « release/bordertitleblock.o » a échouée
make[1]: *** [release/bordertitleblock.o] Erreur 1
make[1]: *** wait : Aucun processus enfant. Arrêt.
Makefile:42 : la recette pour la cible « release » a échouée Hmm .. fixed in the past but I don't remenber how I fixed this ..
https://qelectrotech.org/forum/viewtopi … 498#p13498
https://qelectrotech.org/forum/viewtopi … 140#p12140
2,714 2020-12-12 14:54:48
Re: Nouveautés de la version de développement 0.8 (317 replies, posted in News)
Yeahh enfin! ..../papiers-peints-smiley-balles-vont-a-une-fete.jpg.jpg)

jusqu'à 2 Gbit/s partagés de débit descendant (dans la limite de 1 Gbit/s par équipement) et jusqu'à 600 Mbit/s en débit montant entre plusieurs appareils.
Vivement la livebox 6 que je puisse sortir du carton ma 10G Aquantia. ;-)
Çà me change .. plus besoin de passer par mon smartphone en 4G pour uploader les gros paquets QET.
2,715 2020-12-11 23:37:06
Re: Nouveautés de la version de développement 0.8 (317 replies, posted in News)
and if I use qmake?
2,716 2020-12-11 17:10:24
Re: Nouveautés de la version de développement 0.8 (317 replies, posted in News)
Update Mxe cross-compile to Qt 5.15.2 for Windows packages, but stay yet on KF5 5.70 version, with KF5 5.76 it didn't found KAutoSaveFile: No such file or directory for #include <KAutoSaveFile>
https://github.com/KDE/kcoreaddons/commits/master
https://github.com/KDE/kcoreaddons/comm … vefile.cpp
2,717 2020-12-11 13:31:25
Re: Problem opening file (23 replies, posted in EN : Help, suggestions, discussions, ...)
could it be?
Maybe palhenrique fell asleep on keyboard him or his cat ...
I saw 1 million carriage returns in this file. and a lot off blank lines ..
2,718 2020-12-11 12:46:34
Re: Qt 6.0 development and qelectrotech (157 replies, posted in Code)
2,719 2020-12-11 11:14:06
Re: Qt 6.0 development and qelectrotech (157 replies, posted in Code)
Fixed by rm CMakeLists.txt otherwise my Debian dh saw an cmake build and not use qmake.
For GIT_COMMIT_SHA fixed by refresh my quilt patch.
2,720 2020-12-11 11:10:38
Re: Problem opening file (23 replies, posted in EN : Help, suggestions, discussions, ...)
Use this fake laptop for your cat, uhu.
2,721 2020-12-10 23:44:15
Re: Problem opening file (23 replies, posted in EN : Help, suggestions, discussions, ...)
2,722 2020-12-10 23:32:56
Re: Problem opening file (23 replies, posted in EN : Help, suggestions, discussions, ...)
2,723 2020-12-10 23:29:49
Re: Problem opening file (23 replies, posted in EN : Help, suggestions, discussions, ...)
this is a fantastic file for stressing qelectrotech
Yes same here on my Threadripper workstation is very slow to launch and saw many freeze when you move through the tabs..
2,724 2020-12-10 23:21:34
Re: Problem opening file (23 replies, posted in EN : Help, suggestions, discussions, ...)
If you open file with text editor you saw many blank ...
2,725 2020-12-10 19:09:42
Re: Qt 6.0 development and qelectrotech (157 replies, posted in Code)
Build Debian packages
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
cd obj-x86_64-linux-gnu && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu ..
Can't exec "cmake": No such file or directory at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 475.
dh_auto_configure: cd obj-x86_64-linux-gnu && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu .. failed to execute: No child processes
dh_auto_configure: cd obj-x86_64-linux-gnu && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu .. returned exit code 2
make: *** [debian/rules:8: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
I: copying local configuration
E: Failed autobuilding of package
I: unmounting dev/ptmx filesystem
Mxe build Windows packages:
oject/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.static/qt5/include/QtNetwork -I../../../digikam/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.static/qt5/include/QtXml -I../../../digikam/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.static/qt5/include/QtSql -I../../../digikam/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.static/qt5/include/QtConcurrent -I../../../digikam/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.static/include/KF5/KCoreAddons -I../../../digikam/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.static/qt5/include/QtCore -Irelease -I. -I../../../digikam/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.static/qt5/mkspecs/win32-g++ -o release/elementview.o ../sources/editor/elementview.cpp
../sources/machine_info.cpp: In member function 'void Machine_info::send_info_to_debug()':
../sources/machine_info.cpp:121:38: error: 'GIT_COMMIT_SHA' was not declared in this scope
121 | qInfo() << "GitRevision " + QString(GIT_COMMIT_SHA);
| ^~~~~~~~~~~~~~
x86_64-w64-mingw32.static-g++ -c -pipe -fno-keep-inline-dllexport -std=c++17 -O2 -std=gnu++1z -Wall -Wextra -Wextra -ffunction-sections -fdata-sections -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DQET_ALLOW_OVERRIDE_CED_OPTION -DQET_ALLOW_OVERRIDE_CTBTD_OPTION -DQET_ALLOW_OVERRIDE_CD_OPTION -DQET_EXPORT_PROJECT_DB -DQAPPLICATION_CLASS=QApplication -DQT_MESSAGELOGCONTEXT -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I../../qelectrotech-0.80.r6975 -I. -I../SingleApplication -I../sources -I../sources/titleblock -I../sources/ui -I../sources/qetgraphicsitem -I../sources/qetgraphicsitem/ViewItem -I../sources/qetgraphicsitem/ViewItem/ui -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/editor/ui -I../sources/editor/UndoCommand -I../sources/undocommand -I../sources/diagramevent -I../sources/ElementsCollection -I../sources/ElementsCollection/ui -I../sources/autoNum -I../sources/autoNum/ui -I../sources/ui/configpage -I../sources/SearchAndReplace -I../sources/SearchAndReplace/ui -I../sources/NameList -I../sources/NameList/ui -I../sources/utils -I../sources/pugixml -I../sources/dataBase -I../sources/dataBase/ui -I../sources/factory/ui -I../sources/print -I../../../digikam/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.static/qt5/include -I../../../digikam/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.static/qt5/include/QtSvg -I../../../digikam/project/bundles/mxe/build.win64/usr/x86_64-w6
