Skip to content

Commit

Permalink
fix compil without Qt
Browse files Browse the repository at this point in the history
  • Loading branch information
jmmuller committed Jun 27, 2024
1 parent c7c254f commit 5a68c8b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 114 deletions.
111 changes: 0 additions & 111 deletions Comp3D_cpp_noGUI_noSIM.pro

This file was deleted.

5 changes: 2 additions & 3 deletions Makefile_nonQt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CXX = g++
CXXFLAGS = -DUSE_AUTO -DADD_PROJ_CC -DADD_PROJ_NTF -DUSE_SIM -Isrc/ -std=c++11 -I/usr/local/proj61/include/
LFLAGS = -no-pie -lboost_system -lboost_filesystem -lboost_date_time -lboost_regex -lboost_graph -lproj -lsqlite3 -L/usr/local/proj61/lib/
CXXFLAGS = -DUSE_AUTO -DADD_PROJ_CC -DADD_PROJ_NTF -DUSE_SIM -Isrc/ -std=c++14 -I/usr/local/proj82/include/
LFLAGS = -no-pie -lboost_system -lboost_filesystem -lboost_date_time -lboost_regex -lboost_graph -lproj -lsqlite3 -L/usr/local/proj82/lib/
EXE = Comp3d5_nonQt

CXX_SRCS = $(wildcard src/*.cpp main.cpp) src/genere/git_revision.cpp
Expand All @@ -20,4 +20,3 @@ clean:

%.o: %.cpp
$(CXX) -c $(CXXFLAGS) $< -o $@

2 changes: 2 additions & 0 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,9 @@ int main(int argc, char *argv[])
std::cout<<"------------------------------------------------------------------------"<<std::endl;
std::cout<<" end of "<<COMP3D_VERSION<<std::endl;
std::cout<<"------------------------------------------------------------------------"<<std::endl;
#ifdef USE_QT
delete a;
#endif
return result;
}

Expand Down
1 change: 1 addition & 0 deletions src/station.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include "json/json.h"
#include "parameter.h"
#include <vector>
#include <list>


class Point;
Expand Down

0 comments on commit 5a68c8b

Please sign in to comment.