Skip to content

Commit

Permalink
Fix linker error on Windows.
Browse files Browse the repository at this point in the history
The lib file wasn't being generated because no symbol was marked as
exportable.
  • Loading branch information
sashoalm committed Aug 7, 2017
1 parent 0d5f1bd commit 7878a58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion QFtpServerLib/ftpserver.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@

#include <QObject>
#include <QSet>
#include <qftpserverlib_global.h>

class SslServer;

// The ftp server. Listens on a port, and starts a new control connection each
// time it gets connected.

class FtpServer : public QObject
class QFTPSERVERLIBSHARED_EXPORT FtpServer : public QObject
{
Q_OBJECT
public:
Expand Down

0 comments on commit 7878a58

Please sign in to comment.