changes required for msvc2017, qt-5.9.1 with openssl-linked
Needs ReviewPublic

Authored by dmantovani on Jul 28 2017, 10:10 PM.

Details

Reviewers
habacker
Summary

I compiled kdewin-installer with msvc2017 and with qt-5.9.1. The compilation is statically linked and works.

Diff Detail

Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
dmantovani created this revision.Jul 28 2017, 10:10 PM
dmantovani changed the visibility from "Public (No Login Required)" to "No One".Jul 29 2017, 8:00 AM
dmantovani edited the summary of this revision. (Show Details)Jul 29 2017, 8:04 AM
dmantovani added a reviewer: habacker.
dmantovani changed the visibility from "No One" to "Public (No Login Required)".
habacker edited edge metadata.Jul 30 2017, 4:22 PM

Thanks for you effort. Please fix the mentioned issue to get further review.

3rdparty/bzip2/bzip2.c
44

unrelated, please remove

3rdparty/filters/tarfilter.cpp
496

unrelated space/empty line fix. Please remove or merge all non code changes into a spearate patch.

CMakeLists.txt
11

Do not add this because it uses hardcoded pathes. You can set this in CMakeCache.txt

14

unrelated change. Please remove it

52–53

These libraries are only required in static build mode. Please move them to the location where STATIC_BUILD == TRUE is handled

53

unrelated, please remove

53

You removed qt5main, is it move required ?

57

This loop looks no functional because _loc is never used. Please remove

119–120

This does not change anything. Please exclude from patch

269

Why are you don't using OPENSSL_LIBRARIES ?

281

Why adding this import library ?
Should it not be named simply 'version' ?
Is this library always available ? if not it should be limited to the related compiler version

286

Using REQUIRED breaks any build using other Qt versions. If this is required for Qt 5.9 limit it to the required Qt version

tests/CMakeLists.txt
1

You removed this unrelated file. Please exclude from patch

Dear Ralf,

I'm working on these issues. I shall let you know as soon as the fix is complete.

dmantovani updated this revision to Diff 17974.Aug 10 2017, 5:04 PM
dmantovani marked 13 inline comments as done.Aug 10 2017, 5:09 PM

Dear Ralf,

I changed the code as indicated in your email. Please have another look and let me know if the code is satisfactory.

Cheers,

Daniela

Dear Ralf,

the issues that you mentioned should now be fixed. Do you want to continue your review, please?

dmantovani updated this revision to Diff 18077.Aug 13 2017, 9:06 AM
  • further cleanup cmakelists.txt
dmantovani updated this revision to Diff 19066.Sep 1 2017, 4:58 PM
  • patched also single-package-installer/main.cpp for qt5