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

  • SEARCH
  • Home
  • 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 8982501
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T20:35:40+00:00 2026-06-15T20:35:40+00:00

My .pro file looks as follows: TEMPLATE = TARGET = DEPENDPATH += HEADERS +=

  • 0

My .pro file looks as follows:

TEMPLATE    = 
TARGET      = 
DEPENDPATH  += 

HEADERS     += 
FORMS       += 
SOURCES     += 

QT          += 
QT          += 
QT          += 

INCLUDEPATH +=  
INCLUDEPATH += 
INCLUDEPATH += 
INCLUDEPATH += 

LIBS        += 
LIBS        += 
LIBS        += 

CONFIG      += 

Do I still need to use qmake-cxxflags?
In which kind of cases should that flag be used?

  • 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-06-15T20:35:41+00:00Added an answer on June 15, 2026 at 8:35 pm

    qmake-cxxflags is used to pass flags/options to compiler, it depends totally on you as a developer. You can use it to pass optimization settings for example.

    Lets assume that you are using the GCC compiler and you want to enable optimization level O3, then you could do this:

    QMAKE-CXXFLAGS = -O3

    or lets assume that your GCC version of compiler only supports c++11 if certain flag is passed to it, and you want to use the new language features of c++11, so then you could do:

    QMAKE-CXXFLAGS = -std=c++11

    you can off course use only one QMAKE-CXXFLAGS to pass all your options.

    QMAKE-CXXFLAGS = -std=c++11 -O3

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Have a SomeLib.pro file that contains: CONFIG += debug TEMPLATE = lib TARGET =
Greetings, I've got a .pro file that looks like: TEMPLATE = subdirs SUBDIRS =
I am trying run a program from a qmake .pro file which modifies the
I just opened a file in IDA Pro and I found some code that
I'm compiling a database library with pro C which converts the .ppc library file
I have a page, URI looks like this: http://domain.example.com/Profiles/Profile.aspx?username=blah#blahtab When that fragment (#blahtab) is
With the following code below, There is an error saying File /home/user/web_pro/info/views.py, line 184,
<?php $pro = $_GET['pro']; $pro = mysql_real_escape_string($pro); $jsonurl = index.php?z=.$pro; $json = file_get_contents($jsonurl) or
I currently have all my models (Schema definitions) in the /models/models.js file for my
I'm using Ubuntu 10.04 and Qt4.6, and I've created an executable binary file on

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.