Opened 7 years ago

Closed 15 months ago

#8057 closed enhancement (wontfix)

refactored vidalia alpha to compile against Qt5 SDK

Reported by: dwhuseby Owned by: chiiph
Priority: Medium Milestone: Vidalia: 0.3.x
Component: Archived/Vidalia Version: Vidalia: 0.3.2-alpha
Severity: Normal Keywords: cmake, vidalia, qt5, archived-closed-2018-07-04
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

I refactored the alpha branch so that it now can compile against both Qt4 and Qt5 on linux. I fixed up the cmake to properly find and use Qt5 as well as fixed up the code to address API changes between Qt4 and Qt5.

My changes are in the alpha branch here:
https://bitbucket.org/wookie/vidalia

Child Tickets

Attachments (1)

alpha-qt5.patch (229.1 KB) - added by dwhuseby 7 years ago.

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by dwhuseby

Attachment: alpha-qt5.patch added

comment:1 Changed 7 years ago by dwhuseby

I was able to confirm that this branch compiles against both Qt4 and Qt5 on Mac OS X Mountain Lion. I was able to use the same procedure as the linux build.

For Qt4:

mkdir build && cd build
cmake ..
make

For Qt5:

mkdir build && cd build
cmake -DUSE_QT5=ON -DQT5_SDK_PATH=/Users/<username>/Qt5.0.0/5.0.0/clang_64 ..
make

There seem to be problems with the cmake files that keep it from generating Xcode projects. I'm getting some errors. But those errors existed before my refactor.

I am now testing on Windows 7 to make sure that it can build against both Qt4 and Qt5 there too.

comment:2 Changed 22 months ago by teor

Severity: Normal

Set all open tickets without a severity to "Normal"

comment:3 Changed 15 months ago by teor

Keywords: archived-closed-2018-07-04 added
Resolution: wontfix
Status: newclosed

Close all tickets in archived components

Note: See TracTickets for help on using tickets.