1 (edited by De-Backer 2020-12-16 18:14:42)

Topic: Cmake

intall debian pak

apt install git cmake clang qtcreator qttools5-dev-tools qttools5-dev libqt5svg5-dev libqt5x11extras5-dev extra-cmake-modules

is not up to date: cmake
https://github.com/Kitware/CMake/

sudo ./cmake.sh --prefix=/usr/local/ --exclude-subdir

is not up to date: extra-cmake-modules
https://invent.kde.org/frameworks/extra-cmake-modules

git clone https://invent.kde.org/frameworks/extra-cmake-modules.git && cd extra-cmake-modules
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr .. && make
sudo make install

is not up to date:qt
https://wiki.qt.io/Building_Qt_5_from_Git

git clone https://code.qt.io/qt/qt5.git
cd qt5
git checkout 5.15.2
perl init-repository
#or
#git submodule update --init --recursive
mkdir qt5-build && cd qt5-build
../configure -developer-build -opensource -nomake examples -nomake tests
make -j15

---------------------------------------------------------------------------------------------------------------------------------------

build instructions of qelectrotech

git clone --recursive https://github.com/qelectrotech/qelectrotech-source-mirror.git qet && cd qet
mkdir build && cd build
cmake ..
make -j15

run:

./qelectrotech

https://youtu.be/2KZhs8SmVOk

questions I would like to be answered:

can you explain to me why the language files are not in a .qrc file?

Re: Cmake

Maybe seems useful to integrate qt translations  without import manually all Qt translations in packages.

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

3 (edited by De-Backer 2020-12-13 14:41:42)

Re: Cmake

scorpio810 wrote:

Maybe seems useful to integrate qt translations  without import manually all Qt translations in packages.

I'll have a look if this can be done in the .qrc file for QET, because now it takes a lot of code to get this to work at runtime.

the only advantage would be that afterwards one could modify the .qm files, but who does this?
you simply download the latest version of QET

Re: Cmake

it seems that many elements in the git repo can be built at compile time, so they shouldn't be in the git repo
for example

- .qrc files
- help docs
- .qm files

of course this was not done with bad will, but a result of qmake, the technology of the time, and so on.
I'll try with Cmake just to save the data and get everything in the build

if I succeed this will be a thing of the past (compiled data):
https://git.tuxfamily.org/qet/qet.git/l … /qet_be.qm
and this of course not (data):
https://git.tuxfamily.org/qet/qet.git/l … /qet_be.ts

we then go to a repo with the minimum of files that contains everything anyway.
minimum of files:
- this is easier for the git log
that contains everything:
- what is missing after git clone can be obtained with Cmake.

this will be as difficult as getting Cmake to work on QET, so 2021?

@scorpio810 i would like to start building QET for linux what are you using?
I will then create a Virtualbox, and test it.

the intention is that you have less work with Cmake. (that is my intention)

Re: Cmake

@De-Backer: try this https://qelectrotech.org/forum/viewtopic.php?id=1525

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

6 (edited by De-Backer 2020-12-14 23:19:52)

Re: Cmake

scorpio810 wrote:

@De-Backer: try this https://qelectrotech.org/forum/viewtopic.php?id=1525

i wanted you to know linux version, so i know if it will work
in have suse tw you have debian ...

and see
https://youtu.be/2KZhs8SmVOk

.

Re: Cmake

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)


https://packages.debian.org/sid/amd64/q … s/filelist

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

Re: Cmake

thanks i'll get on it tonight
for the error, weird this is from another cmake file coming up through the qet cmake

Re: Cmake

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

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

Re: Cmake

[ 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

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

11 (edited by De-Backer 2020-12-19 17:39:25)

Re: Cmake

I'm working on it now, thanks for looking further.
if I also get built,then I starts working on the packing.

well i am going to sleep, i will continue working on tomorrow.

FreeCAD source compilation workflow on Cmake:
https://wiki.freecadweb.org/images/e/ed/FreeCAD_source_compilation_workflow.svg

it's about the same for qelectrotech