Compiling HDRMerge with MSYS2

solved

#1

@heckflosse

To build LuminanceHDR on MSYS2, I installed QT5.
Now, in order to build HDRMERGE, QT4 is required.

Sadly, when installing QT4, PACMAN says that QT4 and QT5 are incompatible and asks if I want to uninstall QT5 :open_mouth:

Do you see a solution :slight_smile:

  • replacing QT4 by QT5
  • replacing QT4 by GTK
  • other…
  • nothing

remark: QT seems such an enormous thing (even monstrous for a noob like me) that I wonder if it is adapted for small projects like this.
André


(Mica) #2

I would use a virtual machine to do it, and leave things how they are. Microsoft offers a hardware to VM conversion utility.

The next answer is that QT4 is dead. :slight_smile:

Porting from QT 4 to 5 doesn’t look to be difficult.


(Morgan Hardwood) #3

FWIW, in Gentoo and Gentoo-derived distros, QT4 and QT5 can happily co-exist.

https://sourceforge.net/p/msys2/tickets/109/


#4

Thanks for link.
Considering the date of the ticket, I fear that no correction will happen in a foreseeable future.


#5

@paperdigits

But I am not able or willing to do that for only HDRmerge

Again it depends on the skills. I made a trial, but for me it is not that staightforward.


(Mica) #6

Hopefully this linknis useful: https://wiki.qt.io/Transition_from_Qt_4.x_to_Qt5


(Ingo Weyrich) #7

@gaaned92 Just an idea: Make one msys2 installation in folder C:\msys2_4 for qt4 and another one in C:\msys2_5 for qt5. That could work, though not tested


(Morgan Hardwood) #8

Porting HDRMerge to Qt5 is something I could be tempted to try when time permits.


#9

not really tempted by this sort of adventure!

I will go on trying to port to qT5 with informations provided by @paperdigits , but chances are great that @Morgan_Hardwood be faster than me


(Ingo Weyrich) #10

Shouldn’t we mark this thread as ‘solved’ as @Morgan_Hardwood ported HDRMerge to qt5?


#11

Yes. Can you do that please?