OSDN Git Service

Fix for linux build
authortkawata <takuji.kawata@gmail.com>
Sun, 18 Mar 2012 13:34:09 +0000 (22:34 +0900)
committertkawata <takuji.kawata@gmail.com>
Sun, 18 Mar 2012 13:34:09 +0000 (22:34 +0900)
Source/DNHTTPServer.cpp
Source/DNUtils.cpp
Source/QtDennco/mainwindow.cpp
Source/QtScript/dnqsinputcell.cpp

index d4f14b6..047a02f 100644 (file)
@@ -24,7 +24,7 @@
 
 #include <string>
 #ifndef _MSC_VER
-    #include <strings.h>
+    #include <string.h>
 #endif
 #include <stdio.h>
 
index e9f9f77..5145303 100644 (file)
@@ -22,7 +22,7 @@
 #include "TKDebug.h"
 
 #ifndef _MSC_VER
-    #include <strings.h>
+    #include <string.h>
     #include <stdlib.h>
 #endif
 
index 8c5258f..dd0cfd7 100644 (file)
@@ -141,7 +141,8 @@ bool MainWindow::stopEngine()
 
 void MainWindow::loadUI()
 {
-    QString path = ui->filePath->text().append(QString::fromStdString(mEngine->getUIPath()));
+    QString path = "file:///";
+    path.append(ui->filePath->text().append(QString::fromStdString(mEngine->getUIPath())));
     QUrl pathUrl(path);
     ui->webView->load(pathUrl);
     mWebInterface = new DNWebInterface(mEngine);
index 3c55832..9a34371 100644 (file)
@@ -18,7 +18,7 @@
 //
 #include "dnqsinputcell.h"
 
-#include "TKcontainer.h"
+#include "TKContainer.h"
 #include "TKAxon.h"
 
 DNQSInputCell::DNQSInputCell(TKContainer *container, std::string location, std::string name, bool canInterface):