Opened 11 years ago

Closed 11 years ago

#38250 closed defect (fixed)

qtiplot isn't UsingTheRightCompiler

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: NicosPavlov
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: michaelld (Michael Dickens), cooljeanius (Eric Gallager)
Port: qtiplot

Description

qtiplot isn't UsingTheRightCompiler. For example, I just tried "sudo port install qtiplot configure.compiler=llvm-gcc-4.2" on Mountain Lion with Xcode 4.6 but it still used clang. I presume this is because it's using the values of QMAKE_CC and QMAKE_CXX from the qt4-mac port. The qtiplot build should be fixed to respect the MacPorts compiler choice.

Change History (6)

comment:1 Changed 11 years ago by NicosPavlov

Thanks for pointing out this, I had indeed missed it. While I fully acknowledge the issue, shouldn't this be dealt with at a higher level than qtiplot ? I tried for example qscintilla which also uses qmake, and the same issue seem to appear.

As you suggested, I can confirm that setting

configure.pre_args-append  "QMAKE_CC=${configure.cc} QMAKE_CXX=${configure.cxx}"

seem to fix the behaviour for choosing the compiler, but I would tend to think that this should be fixed in the qt4 portgroup, for example.

comment:2 in reply to:  1 ; Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: michaelld@… added

Replying to nicos@…:

I would tend to think that this should be fixed in the qt4 portgroup

I would be glad of that. Also, the right -arch flags need to be used; not sure where best to do that. Michael, can you look into updating the qt4-mac portgroup for this? Or should we have a separate qmake portgroup?

comment:3 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:4 Changed 11 years ago by michaelld (Michael Dickens)

I think this can be fixed in the qt4 portgroup. Let me look into it.

comment:5 in reply to:  2 Changed 11 years ago by cooljeanius (Eric Gallager)

Replying to ryandesign@…:

Replying to nicos@…:

I would tend to think that this should be fixed in the qt4 portgroup

I would be glad of that. Also, the right -arch flags need to be used; not sure where best to do that. Michael, can you look into updating the qt4-mac portgroup for this? Or should we have a separate qmake portgroup?

I made a new issue for a separate qmake portgroup: #38280

comment:6 Changed 11 years ago by NicosPavlov

Resolution: fixed
Status: newclosed

Make use of qmake portgroup in r106995, which should ensure to use the right compiler.

Note: See TracTickets for help on using tickets.