Loading

Qt5 Visual Studio 2013 compiling

January 28th, 2015 Comments off

Get source code

git clone git://gitorious.org/qt/qt5.git qt5

cd qt5
git checkout [stable | 5.4.1 | latest_version]

perl init-repository --no-webkit

configure -debug-and-release -nomake examples -nomake tests -opensource -platform win32-msvc2013 -confirm-license

Compile

  • nmake // compile all
  • nmake module-qtbase // compile base
  • nmake module-qttools // compile tools

Sources:

http://www.holoborodko.com/pavel/2011/02/01/how-to-compile-qt-4-7-with-visual-studio-2010/

http://stackoverflow.com/questions/15826893/building-qt5-with-visual-studio-2012-visual-studio-2013-and-integrating-with

Possible poblems

NMAKE fatal error U1073: don't know how to make C:\Programs\Qt\qt5\qtbase\lib\Qt5QmlDevTools.lib;

Qt5QmlDevTools.lib is a dependency created by QmlDevTools.pro.

    cd qtdeclarative\src\qmldevtools
    nmake debug
    nmake release

Then go back and retry build on the whole thing:

    cd ..\..\..
    nmake

Please use nmake instead of jom. jom tends to have dependency problems on complex projects (i.e. builds modules ahead of time when their dependencies are still not finished).

Categories: C++, Qt Tags:

Download Android Apps & Games

January 24th, 2015 Comments off

Direct Download Android Apps & GamesAndroid Apps & Games

via Download Android Apps & Games.

Categories: Malo mešano Tags:

C++ Boost compile only selected libraries

January 20th, 2015 Comments off

b2 --build-type=minimal --toolset=msvc-12.0 architecture=x86 address-model=64 --with-system --with-filesystem stage

Categories: C++ Tags:

C++ Books

December 27th, 2014 Comments off
Categories: Books, C++ Tags:

C++ Compiling SQLCipher for Windows x64

December 19th, 2014 Comments off

https://github.com/karlosp/sqlcipher-visual-studio/

Viri:

  • http://thebugfreeblog.blogspot.com/2012/08/compiling-sqlcipher-for-windows.html

  • https://github.com/CovenantEyes/sqlcipher-windows

  • http://www.jerryrw.com/howtocompile.php

Categories: C++ Tags:

The Biggest Changes in C++11 and Why You Should Care

November 30th, 2014 Comments off

The Biggest Changes in C++11 and Why You Should Care

via The Biggest Changes in C++11 and Why You Should Care.

Categories: C++ Tags:

C++ Rvalue References Explained

November 24th, 2014 Comments off
source: http://thbecker.net/articles/rvalue_references/rvalue_references.pdf
 
Introduction
Rvalue references are a feature of C++ that was added with the C++11 standard. What makes
rvalue references a bit difficult to grasp is that when you first look at them, it is not clear what
their purpose is or what problems they solve. Therefore, I will not jump right in and explain
what rvalue references are. Instead, I will start with the problems that are to be solved and
then show how rvalue references provide the solution. That way, the definition of rvalue
references will appear plausible and natural to you.
Rvalue references solve at least two problems:
Implementing move semantics
1.
Perfect forwarding
2.
If you are not familiar with these problems, do not worry. Both of them will be explained in
detail below. We'll start with move semantics. But before we're ready to go, I need to remind
you of what lvalues and rvalues are in C++. Giving a rigorous definition is surprisingly difficult,
but the explanation below is good enough for the purpose at hand.
The original definition of lvalues and rvalues from the earliest days of C is as follows: An
lvalue
is an expression
e
that may appear on the left or on the right hand side of an assignment,
whereas an
rvalue
is an expression that can only appear on the right hand side of an
Categories: C++ Tags:

Qt translation

November 19th, 2014 Comments off
Categories: Qt Tags:

CMake and Visual Studio | Cognitive Waves

November 7th, 2014 Comments off

CMake and Visual Studio

via CMake and Visual Studio | Cognitive Waves.

Categories: Malo mešano Tags:

C++ split string

November 6th, 2014 Comments off

std::vector<std::string> &split(const std::string &s, char delim, std::vector<std::string> &elems) {
	std::stringstream ss(s);
	std::string item;
	while (std::getline(ss, item, delim)) {
		elems.push_back(item);
	}
	return elems;
}

std::vector<std::string> split(const std::string &s, char delim) {
	if (s.length() <= 1){
		return std::vector<std::string>();
	}
	std::vector<std::string> elems;
	split(s, delim, elems);
	return elems;
}

Categories: Malo mešano Tags:

Binding With GetObject and ADsGetObject Windows

November 3rd, 2014 Comments off

&lt;br /&gt;<br />
	IADs *pObject;<br />
	HRESULT hr;
</p>

<p>
	// Initialize COM.&lt;br /&gt;<br />
	CoInitialize(NULL);<br />
	hr = ADsGetObject(L&amp;amp;quot;LDAP://CN=jeffsmith,DC=fabrikam,DC=com&amp;amp;quot;,&lt;br /&gt;<br />
	IID_IADs,&lt;br /&gt;<br />
	(void**) &amp;amp;amp;pObject);<br />
	if(SUCCEEDED(hr))&lt;br /&gt;<br />
	{<br />
	// Use the object.<br />
	// Release the object.&lt;br /&gt;<br />
	pObject-&amp;amp;gt;Release()&lt;br /&gt;<br />
	}<br />
	// Uninitialize COM.&lt;br /&gt;<br />
	CoUninitialize();&lt;br /&gt;<br />
	

via Binding With GetObject and ADsGetObject Windows.

Categories: Malo mešano Tags: , ,

OpenCV and Matlab mex

February 28th, 2014 Comments off
Categories: Malo mešano, Matlab Tags:

What is a Taylor Series Expansion explained for a novice?

February 23rd, 2014 Comments off

What is a Taylor Series Expansion explained for a novice?

via What is a Taylor Series Expansion explained for a novice?.

Categories: Fax Tags:
17138 pages viewed, 0 today
11135 visits, 0 today
FireStats icon Powered by FireStats