我正在开发一个闭源应用程序,并按照LGPL这样做,我必须动态地将Qt的库链接到我的应用程序.Qt是默认执行此操作还是必须采取措施?如果是这样的话,我该如何去做呢?
#include <iostream>
#include <windows.h>
#include <conio.h>
#include <limits>
#include <stdexcept>
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
#include "definitions.h"
#include "globals.h"
};using namespace std;
Run Code Online (Sandbox Code Playgroud)
这是functions.h现在我们有main.cpp包括标题
#include "functions.h"
int main(int argc, char *argv[])
{
//Other stuff
return 0;
}
Run Code Online (Sandbox Code Playgroud)
出于某种原因,我必须};在using声明之前写.它不会让我编译,除非它在它之前.
任何想法为什么?