1 |
strcpy_s(dest, strlen(src),src); |
So. I typo’ed up some template code the other day. And once again I learned the importance of using several c++ compilers. Here is a very reduced version of my code:
1 2 3 4 5 6 7 8 9 10 |
#include <utility> template <typename T> auto foo(const T& t) -> decltype(x.first) { return t.first; } int main() { foo(std::make_pair(1,2)); return 0; } |
And let’s start with the compiler I was…
So. KDE has landed at Qt World Summit. You can come and visit our booth and … hear about our amazing Free Qt Addons (KDE Frameworks) stories about our development tools meet some of our developers Talk about KDE in…
There is more people with blue hair at Debconf than at an average Akademy. KDE – we need to do better :)
Unfortunately, with all the normal magic of QML property bindings, getting a property updated in a setup that involves return values from functions isn’t really doable, like this:
1 2 3 |
Text { text: qtobject.calculatedValue() } |
I’m told there is a low priority feature request for a…
For reasons I don’t know, apparantly a Qt Quick Item that can show a QImage or a QPixmap is kind of missing. The current Image QML item only works with data that can be represented by a URL. So I…
Occasionally, various quotes from people having an opinion if linux is about choice or not. Even pages like http://www.islinuxaboutchoice.com/ has shown up. My short answer is “YES”. Linux is about choice. And you get all your choices directly from your…
Recently I was trying some statistics on the qtbase-module (where QtCore, QtGui, QtWidgets and so on lives) and was wondering who made them. Not based on their current paid affilation, like Thiago’s graphs, but if each commit was made by…
Occasionally, one gets in touch with kind of ‘foreign’ technologies and needs to get stuff working anyways. Recently, I had to do some various hacking with and around .bat files. Bat files are a kind of script files for Microsoft…
When writing libraries with CMake, you need to set a couple of properties, especially the VERSION and SOVERSION properties. For library libbar, it could look like:
1 2 |
set_property(TARGET bar PROPERTY VERSION "0.0.0") set_property(TARGET bar PROPERTY SOVERSION 0 ) |
This will give you a libbar.so => libbar.so.0 => libbar.so.0.0.0 symlink chain with…
Recent Comments