Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 07-16-2016, 08:10 AM   #1
brolny
Connoisseur
brolny began at the beginning.
 
Posts: 64
Karma: 10
Join Date: Sep 2015
Location: Yerevan, Armenia
Device: none
QT 5.7

Yesterday our programmers did tests to check if they can migrate to QT5.7 (Win64, MSVS 14 (Community 2015), QT 5.7, Python 3.6, Cmake 3.6)
We have some programs – not for sell, for internal use.
Just for fun, I asked them to test if Sigil 0.9.6 is also ready.

The answer was that it seems that it will be OK (with the help of info about porting - http://doc.qt.io/qt-5/qtwebenginewid...tingguide.html ), but partly only because of “QwebElement“ used in Sigil but unavailable in QT5.7.
Of course, I can't ask them to do tests with changing the inner code of Sigil)))

----------
Spoiler:
Running "C:\Program Files (x86)\CMake\bin\cmake.exe F:/Sigil-0.9.6 "-GCodeBlocks - NMake Makefiles" "-DCMAKE_CXX_COMPILER:STRING=C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/BIN/amd64/cl.exe" "-DQT_QMAKE_EXECUTABLE:STRING=C:/Qt/Qt5.7.0/5.7/msvc2015_64/bin/qmake.exe"" in F:\build-Sigil-0.9.6-Desktop_Qt_5_7_0_MSVC2015_64bit-Default.
-- The C compiler identification is MSVC 19.0.24210.0
-- The CXX compiler identification is MSVC 19.0.24210.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/BIN/amd64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/BIN/amd64/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: C:/Users/al/AppData/Local/Programs/Python/Python36/python.exe (found suitable version "3.6", minimum required is "3.4")
-- Looking for versions: 3.6;3.6
-- Looking for python version '3.6' by checking executables: python;python3;python3.6.
-- Found executable C:/Users/al/AppData/Local/Programs/Python/Python36/python.exe with suitable version 3.6.0
-- Found PythonLibs: C:/Users/al/AppData/Local/Programs/Python/Python36/libs/python36.lib (found suitable version "3.6", minimum required is "3.4")
-- Using Bundled ZLIB
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of off64_t
-- Check size of off64_t - failed
-- Looking for fseeko
-- Looking for fseeko - not found
-- Looking for unistd.h
-- Looking for unistd.h - not found
-- Using Bundled MiniZip
-- Using Bundled Hunspell
-- Using Bundled PCRE
-- Looking for dirent.h
-- Looking for dirent.h - not found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for unistd.h
-- Looking for unistd.h - not found
-- Looking for windows.h
-- Looking for windows.h - found
-- Looking for C++ include type_traits.h
-- Looking for C++ include type_traits.h - not found
-- Looking for C++ include bits/type_traits.h
-- Looking for C++ include bits/type_traits.h - not found
-- Looking for bcopy
-- Looking for bcopy - not found
-- Looking for memmove
-- Looking for memmove - found
-- Looking for strerror
-- Looking for strerror - found
-- Looking for strtoll
-- Looking for strtoll - found
-- Looking for strtoq
-- Looking for strtoq - not found
-- Looking for _strtoi64
-- Looking for _strtoi64 - found
-- Check size of long long
-- Check size of long long - done
-- Check size of unsigned long long
-- Check size of unsigned long long - done
-- Using the 32 bit CRT in the Sigil Windows installer
-- Ensure vcredist2010_x86.exe and vcredist2013_x86.exe have been placed in installer/ if you plan on running makeinstaller
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:

QT_QMAKE_EXECUTABLE

-- Build files have been written to: F:/build-Sigil-0.9.6-Desktop_Qt_5_7_0_MSVC2015_64bit-Default

---------
brolny is offline   Reply With Quote
Old 07-16-2016, 08:56 AM   #2
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,465
Karma: 192992430
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
If porting Sigil's QtWebkit dependencies to QtWebEngine were trivial (or if trading QtWebKit's bugs/deficiencies for QtWebEngine's bugs/deficiencies resulted in an overall positive gain) we would have already done it.

That Cmake can successfully generate Sigil makefiles (or VS projects) with Qt5.7 is no guarantee that smooth sailing lies ahead. I know from personal experience that it doesn't!

It makes far, far more sense to custom compile Qt5.6/7.x with QtWebKit added back in (which is fairly trivial--even on Windows) and use the time gained to determine if a port to QtWebEngine is feasible, or even wise in the long run. No modification to Sigil's code is necessary for that route.

Last edited by DiapDealer; 07-16-2016 at 11:54 AM.
DiapDealer is offline   Reply With Quote
Advert
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump


All times are GMT -4. The time now is 03:29 AM.


MobileRead.com is a privately owned, operated and funded community.