Skip to content

Error setting up QBS profile, which forces build to fail: Error reading qconfig.h; could not determine whether Qt is using Cocoa or Carbon #409

@barracuda156

Description

@barracuda156

How to use this in a way it actually works? I tried both suggested variants, and both failed:

Executing:  cd "/opt/local/var/macports/build/_opt_local_ppcports_www_qutim/qutim/work/qutim-6bea7d2d8ff79e084a13a0d7c4e3c48e5ba4df9b" && qbs-setup-qt --detect 
2025-06-11 02:38:53.850 qbs-setup-qt[44100:903] CFPreferences: user home directory at file://localhost/opt/local/var/macports/home/ is unavailable. User domains will be volatile.
Creating profile 'qt-4-8-7'.
Error reading qconfig.h; could not determine whether Qt is using Cocoa or Carbon
Command failed:  cd "/opt/local/var/macports/build/_opt_local_ppcports_www_qutim/qutim/work/qutim-6bea7d2d8ff79e084a13a0d7c4e3c48e5ba4df9b" && qbs-setup-qt --detect 
Exit code: 1
Error: Failed to configure qutim: configure failure: command execution failed

Executing:  cd "/opt/local/var/macports/build/_opt_local_ppcports_www_qutim/qutim/work/qutim-6bea7d2d8ff79e084a13a0d7c4e3c48e5ba4df9b" && qbs-setup-qt /opt/local/libexec/qt4/bin/qmake qt4 
2025-06-11 02:38:16.176 qbs-setup-qt[44044:903] CFPreferences: user home directory at file://localhost/opt/local/var/macports/home/ is unavailable. User domains will be volatile.
Creating profile 'qt4'.
Error reading qconfig.h; could not determine whether Qt is using Cocoa or Carbon
Command failed:  cd "/opt/local/var/macports/build/_opt_local_ppcports_www_qutim/qutim/work/qutim-6bea7d2d8ff79e084a13a0d7c4e3c48e5ba4df9b" && qbs-setup-qt /opt/local/libexec/qt4/bin/qmake qt4 
Exit code: 1
Error: Failed to configure qutim: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_ppcports_www_qutim/qutim/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port qutim failed

Qt which is being used is built with Cocoa.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions