Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion data/scons/qt5.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ def enable_modules(self, modules, debug=False, crosscompiling=False) :
self.AppendUnique(LIBPATH=[os.path.join("$QTDIR","lib")])
self.AppendUnique(CPPPATH=[os.path.join("$QTDIR","include","qt5")])
self.AppendUnique(CPPPATH=[os.path.join("$QTDIR","include","qt5",module)])
pcmodules = [module+debugSuffix for module in modules if module not in pclessModules ]
pcmodules = [module.replace('Qt','Qt5')+debugSuffix for module in modules if module not in pclessModules ]
if 'QtDBus' in pcmodules:
self.AppendUnique(CPPPATH=[os.path.join("$QTDIR","include","qt5","QtDBus")])
if "QtAssistant" in pcmodules:
Expand Down
4 changes: 3 additions & 1 deletion src/libcore/thread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,9 @@ void Thread::initializeOpenMP(size_t threadCount) {
}
const std::string threadName = "Mitsuba: " + thread->getName();

#if defined(__LINUX__) || defined(__OSX__)
#if defined(__LINUX__)
pthread_setname_np(pthread_self(), threadName.c_str());
#elif defined(__OSX__)
pthread_setname_np(threadName.c_str());
#elif defined(__WINDOWS__)
SetThreadName(threadName.c_str());
Expand Down