Opened 5 years ago

Closed 5 years ago

#59280 closed defect (fixed)

qt5-qtcreator does not build on mac os X 10.15 (catalina)

Reported by: tiperiu Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.6.1
Keywords: catalina Cc: dlamija (Muhammed Ramiza)
Port: qt5-qtcreator

Description

Hi,

The package qt5-qtcreator does not build on Mac OS X 10.15, I installed xcode 11 and command-line tools and followed all the procedures.

I attached the main.log file. I did an update and upgrade outdated just before trying to install

thanks Tiberiu

Attachments (1)

main.log (2.0 MB) - added by tiperiu 5 years ago.

Change History (11)

Changed 5 years ago by tiperiu

Attachment: main.log added

comment:1 Changed 5 years ago by kencu (Ken)

Owner: set to MarcusCalhoun-Lopez
Status: newassigned

thanks!

comment:2 Changed 5 years ago by kencu (Ken)

Keywords: catalina added

comment:3 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Based on the error, I believe use_xcode yes will fix this problem.
I will test as soon as I get the chance.

comment:4 Changed 5 years ago by dlamija (Muhammed Ramiza)

Cc: dlamija added

comment:5 Changed 5 years ago by tiperiu

It was not clear to me if use_xcode yes option I can do at my end or if the ports need to be changed in order for this option to be enabled? any help welcome, I tried to update the ports but no luck

comment:6 in reply to:  3 Changed 5 years ago by dlamija (Muhammed Ramiza)

Replying to MarcusCalhoun-Lopez:

Based on the error, I believe use_xcode yes will fix this problem.
I will test as soon as I get the chance.

it's work with use_xcode yes

port installed qt5-qtcreator                             
The following ports are currently installed:
qt5-qtcreator @4.9.2_0 (active)

comment:7 in reply to:  5 ; Changed 5 years ago by dlamija (Muhammed Ramiza)

Replying to tiperiu:

It was not clear to me if use_xcode yes option I can do at my end or if the ports need to be changed in order for this option to be enabled? any help welcome, I tried to update the ports but no luck

go to /opt/local/var/macports/sources/github.com/macports/macports-ports/devel/qt5-qtcreator and edit Portfile by adding use_xcode yes or you may write full checking with this code

if {[info exists use_xcode]} {
       use_xcode yes
}

comment:8 in reply to:  7 Changed 5 years ago by cjones051073 (Chris Jones)

Replying to dlamija:

Replying to tiperiu:

It was not clear to me if use_xcode yes option I can do at my end or if the ports need to be changed in order for this option to be enabled? any help welcome, I tried to update the ports but no luck

go to /opt/local/var/macports/sources/github.com/macports/macports-ports/devel/qt5-qtcreator and edit Portfile by adding use_xcode yes or you may write full checking with this code

if {[info exists use_xcode]} {
       use_xcode yes
}

The info exists check is no longer required, it was only there to check whilst base 2.6.x was not released. Now it is, so the check can be skipped.

comment:9 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Has duplicate #59348.

comment:10 Changed 5 years ago by Chris Jones <jonesc@…>

Resolution: fixed
Status: assignedclosed

In b25c14fc633b13f20edbf6b7e68cc1b9e3dc83a1/macports-ports (master):

qt5-qtcreator: Flag that xcode is required
Closes: #59280

Note: See TracTickets for help on using tickets.