Hi, when I try to build a shared lib with QMake (on Linux) I obtain 4 output files:

Qt Code:
  1. libxxx.so
  2. libxxx.so.1
  3. libxxx.so.1.0
  4. libxxx.so.1.0.0
To copy to clipboard, switch view to plain text mode 

This is the .pro file:

Qt Code:
  1. TARGET = test
  2. TEMPLATE = lib
  3. CONFIG += shared dll
  4. DEFINES += TEST_LIBRARY
  5. SOURCES += test.cpp
  6. HEADERS += test.h\
  7. test_global.h
To copy to clipboard, switch view to plain text mode 

The global define header:

Qt Code:
  1. #ifndef TEST_GLOBAL_H
  2. #define TEST_GLOBAL_H
  3.  
  4. #include <QtCore/qglobal.h>
  5.  
  6. #if defined(TEST_LIBRARY)
  7. # define TESTSHARED_EXPORT Q_DECL_EXPORT
  8. #else
  9. # define TESTSHARED_EXPORT Q_DECL_IMPORT
  10. #endif
  11.  
  12. #endif // TEST_GLOBAL_H
To copy to clipboard, switch view to plain text mode 

And the very trivial exported class declaration:

Qt Code:
  1. #ifndef TEST_H
  2. #define TEST_H
  3.  
  4. #include "test_global.h"
  5.  
  6. class TESTSHARED_EXPORT Test {
  7. public:
  8. Test();
  9. };
  10.  
  11. #endif // TEST_H
To copy to clipboard, switch view to plain text mode 

Is it normal?