root.SX

Personal blog of a sysadmin

Archives

  • April 2025
  • May 2024
  • June 2023
  • April 2016
  • August 2015
  • February 2015
  • December 2014
  • September 2014
  • March 2014
  • October 2013
  • May 2013
  • February 2013
  • January 2013

Meta

  • Log in

Tag: qt

[SOLVED] fatal error: ‘TargetConditionals.h’ file not found

2014-09-23 by root·0 Comments

# vim ~/Qt/5.3/clang_64/mkspecs/qdevice.pri
Change the following line:
!host_build:QMAKE_MAC_SDK = macosx10.8
By
!host_build:QMAKE_MAC_SDK = macosx10.9

Source : http://stackoverflow.com/a/25962088

[SOLVED] addition of default argument on redeclaration makes this constructor a default constructor

2014-09-23 by root·0 Comments

Wrong code:

void foo(int x = 42, int y = 21)
{
...
}

Correct code:

void foo(int x = 42, int y = 21);
void foo(int x, int y)
{
...
}

Source : http://stackoverflow.com/a/4989591

Proudly powered by WordPress. Theme: Flat 1.7.11 by Themeisle.
Nous utilisons des cookies pour vous garantir la meilleure expérience sur notre site. Si vous continuez à utiliser ce dernier, nous considérerons que vous acceptez l'utilisation des cookies.