Browse Source

Update pro file:
- Fix autogenerated file paths
- Add prefix handling
Add readme

Alexey Edelev 9 years ago
parent
commit
9596d0f2bb
3 changed files with 13 additions and 2 deletions
  1. 2 0
      .gitignore
  2. 7 0
      README
  3. 4 2
      ubxproto.pro

+ 2 - 0
.gitignore

@@ -4,3 +4,5 @@
 *.so
 moc_*
 *.pro.user*
+.moc
+.obj

+ 7 - 0
README

@@ -0,0 +1,7 @@
+UBX protocol implementation based on C language for u-blox© GNSS chips
+
+INSTALLATION
+
+qmake PREFIX=<path-to-sysroot>
+make
+make install

+ 4 - 2
ubxproto.pro

@@ -25,8 +25,10 @@ HEADERS +=\
     ubxutils.h
 
 header_files.files = $$HEADERS
-header_files.path = ../include
-target.path = ../lib
+header_files.path = $$PREFIX/usr/include
+target.path = $$PREFIX/usr/lib
+OBJECTS_DIR = .obj
+MOC_DIR = .moc
 DEPLOYMENT += header_files target
 INSTALLS += header_files
 INSTALLS += target