Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1018363
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T10:50:48+00:00 2026-05-16T10:50:48+00:00

When I use qtcreator on mac, it creates universal binaries. Does anyone know how

  • 0

When I use qtcreator on mac, it creates universal binaries.

Does anyone know how to set it so it just creates a ‘native’ binary? (So i386′ in my case?)

Qtcreator uses qmake as a buildsystem.

Google hasn’t been my friend so far, I hope stackoverflow will.

EDIT:
my config file so far:

TARGET = mongowriter
CONFIG   += console
CONFIG   -= app_bundle
CONFIG += x86
#CONFIG -= ppc 

TEMPLATE = app

INCLUDEPATH += /opt/local/include/.
INCLUDEPATH += ../mongodb/.

SOURCES += main.cpp

LIBS += /usr/local/lib/libmongoclient.a
LIBS += /opt/local/lib/libboost_thread-mt.a
LIBS += /opt/local/lib/libboost_filesystem.a
LIBS += /opt/local/lib/libboost_program_options.a

It still gives the error on the libmongoclient.a
The libboost libraries are all ok, but this is because I got them from macports with the +universal option.

Since mongoclient doesn’t support universal I’m currently removing all the universal stuff. I was hoping to get 3 errors for the boost libs and that at l;east mongoclient would link.
At that point I could redo the whole macport story again but this time with universal removed.

Unfortunately it seems it still builds a universal binary since I still have the same linker errors.

thanks for the help

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T10:50:49+00:00Added an answer on May 16, 2026 at 10:50 am

    you can use the ‘CONFIG’ variable in your project file to specify which plattforms shall be supported to create a universial binary you use

     CONFIG += x86 ppc
    

    if you only need x86 you use

     CONFIG += x86
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 494k
  • Answers 494k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Point-to-point queues will work fine. Yes, when you send, only… May 16, 2026 at 10:55 am
  • Editorial Team
    Editorial Team added an answer You can click Debug > New Breakpoint > Breakpoint at… May 16, 2026 at 10:55 am
  • Editorial Team
    Editorial Team added an answer ffmpeg -i audio.wav -acodec gsm -ab 192k audio.gsm you need… May 16, 2026 at 10:55 am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I am trying to use the GNU Scientific Library (GSL) http://www.gnu.org/software/gsl/ in QtCreator. How
I use restructuredText, and I like what smartypants does for Markdown. Is there a
Since I am very UNHAPPY with Visual Studio (It's just Junk!) I am trying
Is it any way in QtCreator for windows to build a 64-bit executable? (I
For school, we use C++ as the language of choice. I am currently using
I recently tried to use Qt Creator 1.3.2, Qt 4.6.2, and GCC 4.4.0 (32-bit
I've finally managed to run the QtCreator debugger on Windows after struggling with the
I'm developing a simple application to use sqlite, the problem is that the following
I use the following to visualize the range of means when averaging n coin
I use SQL Server 2008 I use a CHECK CONSTRAINT on multiple columns in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.